api

  1. D

    Not a bug Connected Plugin to Staging Site, API will Not Connect User Permissions

    I saw a user with the same issue on a different thread, but the solution didn't work for us. I've tried turning all of our plugins off and just getting the API to connect. I'm not receiving any error messages either, just not getting the API User permissions hooked up. I am using the Super User...
  2. Reflect

    XF 2.2 Selecting users based on criteria using the API

    I'm looking at the API documentation to work out how to select all users based on various criteria, such as primary or a secondary usergroup. The documentation suggests only one route to get users: https://xenforo.com/community/pages/api-endpoints/#route_get_users_ I only want to select a...
  3. Will Franco

    HTTP Post to Create New Forum User

    My CRM can send an HTTP post. I want to send an HTTP Post after someone purchases that creates a new user in my forum. Where do I find the post URL and the necessary key-value pairs needed? Better, where can I find someone to do this for me? Thanks in advance, Will P.S. Is there a 3rd party...
  4. nidhin

    XF 2.2 Reply api

    is there any api or specific addon to reply a specific post using api call.
  5. 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.
  6. 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...
  7. M

    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...
  8. 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...
  9. 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?
  10. 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...
  11. 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']...
  12. 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.
  13. kolakube

    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...
  14. 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...
  15. 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' =>...
  16. 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...
  17. 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...
  18. 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...
  19. 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 =...
  20. 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...
Top Bottom