Public API access?

Discussion in '[bd] API' started by DeltaHF, May 19, 2017.

  1. DeltaHF

    DeltaHF New Member

    First of all, I want to say just how great this plugin is. :D It is providing some important functionality for my website and I'm very happy with it.

    Anyway, my question: is it possible to access the API without any user credentials, to get public data?

    For example, I want to retrieve the public list of recent threads using /threads/recent. I can view the list of recent threads if I provide the OAuth token for my account, but I am afraid the returned list will include private threads which my account has access to. I don't want that — instead, I want it to return a list of only recent threads which are available to the public.

    If I make the call to
    /threads/recent without the token, I get an "invalid or expired access token" error.

    I apologize for what is probably a stupid question. Although I have this working for my original needs, I'll admit I have never fully understood exactly how this authentication works even though I have read the documentation on it.

    Thanks for any help you can provide. :)
     
  2. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    DeltaHF likes this.
Loading...