If you are interested in one particular forum, for example the "Chatting" one, forum_id=13, you can go to http://xfrocks.com/api/threads/?forum_id=13 to see threads of that forum (the links section contains some other links like permalink to the resource, link to get sub-forums of a forum, etc.)
If you go to http://xfrocks.com/api/threads/?forum_id=13, you can see the list of threads in "Chatting" forum. Currently there is only one thread but the system supports pages if there are many threads.
How do I translate that back into a custom xf page using the normal templates?
How many posts do you have?
1.3 million.
25,000 members
dedicated server.
ALTER TABLE `xf_post` ADD COLUMN `bdapi_origin` VARCHAR(255) DEFAULT ''
Ok, I appreciate your help......maybe I will eventually get this working!
So, I created a client on the front end....at the MASTER site.
I copied those keys to the SLAVE site.
The MASTER API config has the name and description filled in, and the redirect URI to be slavesite.com/xenforo
The SLAVE Consumer API has as a provider the url
mastersite.com/xenforo/api
auto-register disabled, as I want the user to have to take an action rather than being immediately signed up.
Is that right so far?
Given those settings, when I go to the SLAVE site in a new browser (not logged in anywhere), I see a screen like this:
View attachment 45528
But hitting the Login with Hearth.com button brings me to an error page at hearth.com.....
My first questions is whether any actual permissions on the master end have to be set for the regular user groups?
Other than that, please inform if I have the basic settings pointing in the right direction!
I did copy the .htaccess file from the master XF to master api directory.
On the consumer API site, it's a little confusing as to how you are supposed to login (with master creds)
Are you supposed to fill in the XF name and/or pw, or just hit the button what says "login with master-site" and THEN be promoted for the username and pw?
Either way, I get thrown back to slavesite.com/xenforo/register with the URL showing
"http://droneflyers.com/talk/register/external?provider=0489b&error=redirect_uri_mismatch"
and XF showing an error of
"DroneFlyers.com Forums - Error
An error occurred while connecting with Hearth.com. Please try again later."
View attachment 45547
I will PM you with a login name and PW...so you can try it yourself!
This seems to work well for authorizing a user from another (slave) XF site - and I imagine that other developers could extend it to allow XF to share login with mediawikis, wordpress, etc.
...
I hope this helps someone!
1.0 (23-05-2013)
1.0/1 added GET /posts/:postId/likes to get like, POST to like, DELETE to unlike
1.0/2 added common parameters `fields_include`, `fields_exclude` to filter data
1.0/3 added `attachments` to post data, POST /threads/attachment and POST /posts/attachment to upload attachment to thread or post
1.0/4 added common parameter `order` to.. order
1.0/5 added logging
1.0/6 added POST /users to create new user
1.0/7 added POST /users/:userId/avatar to upload avatar, DELETE...
We use essential cookies to make this site work, and optional cookies to enhance your experience.