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...
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']...
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.
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...
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...
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' =>...
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...
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...
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...
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 =...
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...
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...
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?
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...
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...
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...
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
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...
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...