api

  1. nidhin

    XF 2.2 Reply api

    is there any api or specific addon to reply a specific post using api call.
  2. nidhin

    How to implement member map api on front end

    How do we fetch members location details after integrated members map add-on. did they provide API end points after purchase or is there any others methods.
  3. C

    XF 2.2 get styleid via API

    Hi, we are using three systems to host our website. Our Mainsystem is Xenforo. Actual we are implementing an darkmode style, so our users can switch between the normal style and a darkmode style. If a switch happens we like to automatically switch the other systems also to darkmode, so we need...
  4. MJ0730

    XF 2.2 Headers not making it to the server

    In postman I can make a request to the xf api without issue, but when doing it with the fetch api on localhost, I get an error about the api key not being present. It's in the headers, and I can see it in the dev tools. Access-Control-Allow-Origin is set in .htaccess, not sure if there's...
  5. O

    XF 2.2 API endpoints not accessible after fresh install on debian buster

    Howdy, I am trying to setup a local system to test/play with the API endpoints: fresh clean install on debian buster, mariadb. The forums are are working fine. Accessible via http://webdev.mydomain.com/community/ However, http://webdev.mydomain.com/community/api/[any endpoint] gives just...
  6. rik

    As designed REST API: Smilies not replaced in parsed HTML

    Xenforo 2.2 includes parsed post contents in REST API responses (field message_parsed in the Post data type), see REST API Documentation. While images, quotes, etc. are transformed to HTML, smilies aren't. Is that a bug or a feature?
  7. Bobsilvio

    XF 2.2 Call to protected method XF\App::initialize()

    I would like to upgrade to xenforo 2.x The problem is that with 1.x I used XenApi, and created many projects and software based on XenApi. these bees are no longer up to date and perhaps they are abandoned. I absolutely cannot use other APIs for now, I would lose compatibility with older...
  8. M

    XF 2.1 issues with API and Curl PHP

    Hello, I'm have troubles creating a thread with Xenforo API via CURL in PHP. Here's my code : $sUrl = 'https://mydomain.com/api/threads/'; $aData = [ 'node_id' => 13, 'title' => 'test title', 'message' => 'test message']...
  9. developr

    API: no permissions after creating a node

    Hi there, when I create a node via the endpoint /nodes/ the node is not visible in the frontend and I have no permission to update or delete these node. You are only able to update or delete via API after a forums rebuild. Subforums are only visible after editing some forum manually.
  10. Mangini

    WordPress bridge plugin (beta) - user verify, thread replies, conversations, and more

    Over the last few months since switching my forums to XenForo I have been building the addon I've always wanted since I started selling my products online - a way to let my customers verify themselves to my support forums. In years of selling products online I have been manually promoting new...
  11. developr

    API endpoint: profile-posts

    Hi there, The parameter "message" is missing in the docs. API endpoint: https://xenforo.com/community/pages/api-endpoints/#route_post_profile_posts_ In the file the required parameters are listed: /** * @api-desc Creates a new profile post. * * @api-in int $user_id <req> The ID...
  12. developr

    XF 2.1 REST API attachment_key_context_wrong

    Hi there, I want to upload files via the Rest Api. If I reply to an existing conversation or post I have to create a new attachment_key with POST to attachments/new-key containing a context. Which format is expected for the context? This code doesn't work. $attach_param = array( 'type' =>...
  13. BubbaLovesCheese

    XF 2.1 What is the best way to update multiple users using the API?

    Hi, I have been using PostMan for my API requests, but I'm happy to try another method if it is easier. I would like to update the secondary_group_ids of about 60 different users. There could be up to 4 different values for the secondary_group_ids, for each user. This just needs to be run...
  14. JohnLR

    XF 2.1 404 Not Found API Endpoint

    Hi xenForo Community, Hopefully this is the right section, I apologise if this isn't. Currently have an issue with the API Endpoint, here's the server details: xenForo: v2.1.10 Patch 2 PHP: 7.4.9 MySQL: 10.3.23-MariaDB Web: nginx/1.19.1 I've followed...
  15. ActorMike

    Fixed Yahoo Connected Accounts- Please enter a value for the required field 'provider_key'.

    This stopped working sometime recently, although Yahoo sends emails and says "Your Yahoo account XXXXXX was just used to sign in on XXXXXXXX Forum Member Login. If you did this, you’re all set after a registration or login attempt. First, I can confirm I've followed all the directions here. I...
  16. developr

    XF 2.1 File upload via API

    I want to add avatars to users via the xenforo api. function apiCall($action,$scope,$post,$upload=0) { $headers = array( 'Content-type: application/x-www-form-urlencoded', 'XF-Api-User: 1', 'XF-Api-Key: '.APIKEY ); if(!$upload) { $post =...
  17. MarcoBrassat

    XF 2.1 Create conversation with API httprequest

    Hello, everyone, I would like to send an HTTP request via API key so that I can start a conversation with a specific user. Unfortunately I get an error while sending the request. Let's take as an example, the user has the ID 1020. Then I call...
  18. 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...
  19. 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?
  20. 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...
Top