2

This question already has an answer here:

I'm implementing an App and intend to use Stack Exchange tags to classify content, of course, respecting the terms of use.

However, the Authentication documentation says I'd need to use the OAuth 2.0 workflow, which requires the user to be redirected to Stackoverflow, which doesn't make sense because my app is not acting in behalf of any user. I just wanted to pass in my client_id, secret and access_token and get the data I need, respecting the quota.

RankOverflow seems to have the same use case as I do, so I believe it's possible.

marked as duplicate by Brock Adams, Tim Stone Nov 26 '17 at 2:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    Well, to be honest, I don't use the API. I just get the website over PHP and parse it with jQuery to get my required data. :D – Filnor Nov 25 '17 at 21:31
3

You only need to use OAuth if you are trying to add or modify data (including votes). If you want to do that, your app must log in as a user, no exceptions.

If you just want to read or search data, don't bother with OAuth (or an access_token).

Reference:

  • Thanks. The secret was to pass the key={key} as a query parameter to increase the quota to 10k. – André Pena Nov 27 '17 at 7:38

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