It works by itself. And there is a detailed instruction here https://xfrocks.com/api-support/articles/howto-complete-wordpress-xenforo-bridge-setup.177/+....do i need to use this with the bridge from lph or is this a standalone solution?
It works by itself. And there is a detailed instruction here https://xfrocks.com/api-support/articles/howto-complete-wordpress-xenforo-bridge-setup.177/+....do i need to use this with the bridge from lph or is this a standalone solution?
XenWord and @xfrocks solution are two different bridges. You'll need the solution by xfrocks and not XenWord.
No worries. I'm sure xfrocks will take good care of you.Sorry
It works by itself. And there is a detailed instruction here https://xfrocks.com/api-support/articles/howto-complete-wordpress-xenforo-bridge-setup.177/
Where to obtain the api key and secret?
[mj@neptune:~]
% apg -M LN -n 2 -m 32
enwifagewyicfidjar7frysvijacodry
neiccuinyum7kriushvimirbyohetpas
You have to create them yourself. For example, I used the apg tool to generate random strings, apps like 1password will also do a good job in creating good random strings.
Code:[mj@neptune:~] % apg -M LN -n 2 -m 32 enwifagewyicfidjar7frysvijacodry neiccuinyum7kriushvimirbyohetpas
It's a command line tool for Unix-like operating systems. You can also use every password generator out there![]()
{
"scope" : "read post usercp conversate admincp",
"refresh_token" : "1768ea.......c756a9a",
"access_token" : "bf2f12....53dee384c862f1",
"expires_in" : 3600
}
You can enter anything you like there. For auto generated key/secret pair, use the front-end client management tool. Sorry if it was not clear in the instruction.Where to obtain the api key and secret?
I have responded to your message.@xfrocks please get back to me. I paid for the webmaster badge/support on your site and since then you stopped responding to our conversation. I've waited over a month.
I assume he obtained the token with username/password? That method will grant all scopes available. However, when actual admin permission is required, the system will check for both admincp scope AND the required XenForo administrative permission. So it is still secured.I've got a user trying out the API on my test system.
He's just reported that when he logs in using his account, he gets the following response:
His XF user is not an admin so should not have the admincp scope as far as I'm aware?Code:{ "scope" : "read post usercp conversate admincp", "refresh_token" : "1768ea.......c756a9a", "access_token" : "bf2f12....53dee384c862f1", "expires_in" : 3600 }
"Automatically authorize ADMINCP-scope" is not enabled and neither is the [bd] API: Create Client: permission.
https://xfrocks.com/api/ is running with 1.4.4 without issue.Seems lack of support for Xf 1.4 recently. Has anyone tried it with XF 1.4![]()
great to hear thathttps://xfrocks.com/api/ is running with 1.4.4 without issue.
Take a look here https://github.com/xfrocks/bdApi/tree/master/php_demoIs there any simple examples anywhere to show simple implementations of this api?
I am looking to get login and logout to work on a single homepage on the same server, but outside the XF folder.
if possible, also to show the loged in username if logged in linking to their profile.
Thankyou, this looks promising.
sample ie:
The code to add into my external page to make this work
We use essential cookies to make this site work, and optional cookies to enhance your experience.