1. 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?
  2. 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...
  3. 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']...
  4. 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.
  5. 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...
  6. 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...
  7. 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' =>...
  8. B

    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...
  9. 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...
  10. 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...
  11. 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 =...
  12. 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...
  13. 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...
  14. 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?
  15. 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...
  16. 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...
  17. 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...
  18. 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
  19. 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...
  20. B

    RM 2.1 upload attachments using api

    how can i upload attachments using api? please show sample