api

  1. B

    XF 2.2 API for increasing/decreasing online users count.

    Does anyone know if there is a specific API endpoint intended for increasing the "members online count"? We are using the API to build a mobile app and want to continue to show the true count on the web version with a full tally of online users and guests inclusive of our users on the mobile...
  2. Chernabog

    XF 2.2 API Question for pull requests

    I have a guy working on a way to send new user registrations from the forum over to our game server. He's able to get everything we need so far, but is having trouble with pulling the password. Is there a particular "name" or "call" (I have no idea what the proper word is) that I can tell him...
  3. ⭐ Alex ⭐

    XF 2.2 Can XF Scale Horizontally?

    Question 1: If I were to launch a host XF instance configured as the same forum, as a second node behind my load balancer, given the data and internal_data directories are on S3, would this work without issues or would having a duplicate set of cron tasks that XF schedules in the background be...
  4. MR X

    XF 2.2 cant upload attachment with api | python

    I cant seem to upload attachment in python i have got the attachment key but I'm unsure how to upload the attachments I've tried everything if someone can provide a python sample for how to do it it would be appreciated.
  5. A

    XF 2.2 API Not Returning All Users

    Hello All, I'm using the users API http://forum.myurl.com/index.php/api/users and its only returning the first 20 users. Is there a way to return all users? Thanks!
  6. T

    XF 2.2 Using XenForo as authentication for other subdomains

    Hello all! I'm working on a site that has multiple components - a Xenforo server (e.g. forums.xyz.com), a Laravel API server (api.xyz.com) and a WordPress site (xyz.com). These are all running on the same physical server, but some are using their own web servers. I don't have much experience...
  7. revolveextra34

    PHP checking XenForo user's account data

    I am authenticating XenForo user via php. My code: public function Auth($username, $password) { $userIDA = $this->getarray("SELECT * FROM xf_user WHERE username='".$username."'"); if($userIDA) { define('SESSION_BYPASS', false); // if true: logged in user info and sessions...
  8. R

    XF 2.2 API and Poll results

    I have just started messing with the API and was wondering if there is a way to grab poll results from a thread via the API?
  9. Kruzya

    Fixed "use_tfa" incorrect naming and typing in API

    If we open API documentation for User entity, we can see field named as use_tfa with type array: But in API response for /me action, this field is presented as usa_tfa and in boolean type:
  10. I

    Not a bug API XenForo attachment

    First, i'm sorry because report bug. This is not bug, I can't post on XenForo development discussions.
  11. A

    XF 2.2 API token on API auth

    Hi, We are trying to build an API on xenforo. We need a token for each user - which respects the users permissions. I understand that this token is the one created in admin->Setup->ApiKeys->user->[userName] I suspect that if we use this token in XF-Api-Key - we can make API calls with user...
  12. 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...
  13. 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...
  14. 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...
  15. nidhin

    XF 2.2 Reply api

    is there any api or specific addon to reply a specific post using api call.
  16. 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.
  17. 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...
  18. 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...
  19. 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...
  20. 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?
Back
Top Bottom