api

  1. J

    XF 2.1 Django Integration with XF | Account Creation

    Hello, I have Django application and XF setting next to each other. XF is hosted under mysite.com/community and Django is hosted under mysite.com/django. Django hosts some stuff that users need to gain access to. I decided to use XF for user management meaning that users will have to create XF...
  2. R

    XF 2.1 Connected Accounts API?

    Is there any API for use with Connected Accounts? My site automatically registers an account on the forum, and the question is - can I also link forum account with any other account automatically? Is there any public API for that?
  3. NikitOS

    XF 2.1 Using API methods without an API key

    Hello There was a need to use some API methods without an API key, is this possible? As I see, the API key is required in any case, although I noticed that there is a “for the future” fragment in the code in which guest access is created, now it does not work (?) PS I'm doing something like...
  4. Kao

    Not a bug "Please enter at least one valid recipient" despite having recipients in API request

    I've been trying to make a POST API request /api/conversations?recipient_ids=1&title=test&message=test and I only get the error that I need to enter at least one valid recipient. I've tried multiple user IDs, and the user whose this API key is taken from has the permission to message these...
  5. Kruzya

    Fixed Update user with API doesn't work if using API bypass permissions

    Steps to reproduce: Log into ACP. Create Super user key with access to user:write. Try use method users/{id}/ with api_bypass_permissions=1 Received result: I got server_error_occured (see details from log entry below). Expected result: No one error has been thrown (or another, not...
  6. A

    XF 2.1 How to upload an attachment using the API?

    I read the manual, but it doesn't work yet https://xenforo.com/community/pages/api-endpoints/#route_post_attachments_ https://xenforo.com/community/pages/api-endpoints/#route_post_attachments_new_key Does anyone have an example in PHP or Python ? Thanks
  7. Earl

    Fixed By using API, You can create resource categories which has invalid parents, then they become ghost categories

    Summary: By making an API (superuser key with resource_category:write scope enabled) request, you can create resource categories which has invalid parent IDs. Then they become invisible in resource categories page in the admin panel and resource index. Steps to reproduce: Create category:write...
  8. B

    RM 2.1 upload attachments using api

    how can i upload attachments using api? please show sample
  9. K

    Xenforo oAuth2 implementation

    Hey all, I've been looking for the following feature in XenForo 2+. To use the XenForo 2 user accounts for other services with oAuth2. I've been looking for such a feature for quite a while now, and I just found this link to an add-on that should add this feature. However I am unsure if this...
  10. sub_ubi

    Fixed API call to resource by id returns an error

    a call to api/resources/{id} returns the following error, { "errors": [ { "code": "server_error_occurred", "message": "A server error occurred during the API request. Please try again later.", "params": [] } ], "exception": {...
  11. szymme

    XF 2 Xenforo with KlickTipp API Connection

    Dear developers, Im looking for someone who can help me to connect the KLICKTIPP.DE API with the Xenforo Registration. That means, that the users who register on my xenforo site will be added too to the "KlickTipp E-Mail List" database. Here is the to do in german: Klick-Tipp |...
  12. djgxp

    Fixed Api get threads with filter last_days

    By default, last_days is defined in Xenforo and if you are not adding any filter parameter to /api/threads/ you are getting something like last_post_date > 11111111 (where 11111111 here is the timestamp of the current date minus 1 month). if I set /api/threads/?last_days=0 in order to get all...
  13. djgxp

    XF 2.1 How to get a thread url from XF Api ?

    Trying to play a little bit with the API, I could see JSON thread documents with posts and so on but I didn't see anything like a canonical url of the thread or even a path that would allow me to recreate the thread URL from an external site. So did I miss something or this is something that we...
  14. Brent W

    XF 2.1 What would creating a new thread look like using the API with Guzzle?

    Trying to wrap my head around this. Making a get request is pretty simple for just a thread. Using this documentation: https://guzzle.readthedocs.io/en/latest/quickstart.html Using this within Wordpress. Working get request: <?php define("WP_USE_THEMES", false)...
  15. korkusuz212

    When you past the XF 2 from MyBB, FB User Login Problem

    Hello I am just trying to figure out that when we just change our system of from, mybb to xenforo 2, what is going to be happen for fb api login users? Do we have any chance to transfer them all to login with xf2 fb login api. Thank you
  16. S

    XF 2.1 Enable CORS for the built-in API

    Good day, I'm trying to develop an app that is going to fetch data from my forum using the built-in API, I'm developing this app in my local environment using Angular but when trying to request data from the API I get the "No 'Access-Control-Allow-Origin' header is present on the requested...
  17. Brent W

    How are you using the API in 2.1 with Wordpress?

    Is anyone using the new API with Wordpress? I am beginning to look into using it to create a thread when a Post or Page is created under certain circumstances. When a post or page is created two things would happen: The thread id or url of the new thread would be stored in a custom field so...
  18. Brent W

    Lack of interest API: When Creating Thread also allow creating a poll with the thread

    As title says. When you create a thread via the API, also allow the ability to create a poll with it.
  19. M

    Duplicate API for xf2.0

    I use a membership plugin - DigitalAccessPass.com - There is an API for xf1.x, but none so far for xf2.x. I have my WordPress site ready to launch using xf1.x. I would prefer to use xf2.x, but can't because of the API problem. Is there any possibility that there will be an API developed in...
  20. ibnesayeed

    Not planned GraphQL API for XenForo

    I am a big promoter of REST APIs (not just HTTP APIs), for which there is already a very popular feature request thread, Full native RESTful API built into XenForo. However, I have been exploring Facebook's GraphQL lately and found it very interesting and efficient in certain situations. XenForo...
Top Bottom