Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am authenticating via the explicit method, but I still get a 502 throttling error. Is my key not getting passed?

Do I need to pass the access_token with the request? if so. How do I do that.

I am using PHP, and Stack.PHP, for a web based application. my current calls are go something like this:

$question = $site->Search($query)->SortByVotes()->Filter('!9f8L76x)_');
share|improve this question
Code? Language? Details? Link? – Brock Adams Nov 16 '13 at 23:28
up vote 0 down vote accepted

figured it out.

api.php has a field 'key' in it. It's not well advertised since a lot of the documentation focuses around the pure api, but after you register, just put you key into that tha variable and conduct your searches the way you normally would and stackphp will take care of the rest.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .