Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

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

1 Answer 1

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 .