[bd] API

[bd] API 1.6.3

No permission to download

Rushster

Member
Here is a working version with XF 2.2.9 and latest version of BD API which supports 2.x.
Note: users/me did not work, so I had to use users/{id} to be able to retrieve member's info like avatar.


Thanks @LuckyRiver but this doesn't really help as what I am seeing here is nothing like we see, especially the Authorise access screen which doesn't exist like yours.

If anyone can help me get this up and running it would be brilliant, for the life of me I have no idea whats going wrong and need to get this working ASAP with mediawiki.
 
Last edited:

LuckyRiver

Active member
Thanks @LuckyRiver but this doesn't really help as what I am seeing here is nothing like we see, especially the Authorise access screen which doesn't exist like yours.

If anyone can help me get this up and running it would be brilliant, for the life of me I have no idea whats going wrong and need to get this working ASAP with mediawiki.
The bdApi is designed to be used only for Xenforo and can't be used for mediawiki.
 

Rushster

Member
The bdApi is designed to be used only for Xenforo and can't be used for mediawiki.
@LuckyRiver, yes I know. I am connecting from Mediawiki to Xenforo. However, Mediawiki aside, I can't get any response from BDapi on Xenforo, just getting 404s.

The mediawiki part comes into play with the Mediawiki Extension XenForoAuth. However, until I can get some sort of response from the API, I can't even tackle that bit.
 

azzurro

Member
Trying this out with XenforoAuth on Mediawiki and followed some of the user notes in there as well as here but have not had any luck getting this working.

Got the same problem others have come across with the error index.php?title=Special:CreateAccount&returnto=Main+Page Error: Class 'XenForoBDClient\Clients\OAuth2Client' not found

I can't figure out how to get around this in MediaWiki or to fix what's missing.

Anyone got any ideas or managed to get this working with MediaWiki?
I have that setup working a couple years ago and has been working fine for me. Currently on XF 2.2.9 and MediaWiki 1.35.6. The composer update error may be the issue, may need to investigate that further.
 

Rushster

Member
@azzurro I got composer to update eventually on the MediaWiki side so I think that is all good.

I think the problem I have is a conflict with another XenForo addon. Once I resolve that and the API is responding, I'll go back and check from the MediaWiki side.
 

LuckyRiver

Active member
@LuckyRiver, yes I know. I am connecting from Mediawiki to Xenforo. However, Mediawiki aside, I can't get any response from BDapi on Xenforo, just getting 404s.

The mediawiki part comes into play with the Mediawiki Extension XenForoAuth. However, until I can get some sort of response from the API, I can't even tackle that bit.
Without testing MediaWiki, have you tried first testing the bdApi url, client id and client secret to see if the bdApi endpoint responds since you have to put these configs in the XenForoAuth plugin afterwards ?
I will check it out first to see if I receive a 404 not found.
Also which version of Xenforo and bdApi are you using?
 
Top