- Joined
- Jan 8, 2019
- Messages
- 56,613
- Solutions
- 2
- Reputation
- 32
- Reaction score
- 100,454
- Points
- 2,313
- Credits
- 32,650
6 Years of Service
76%


Adds a connected account provider for XenForo 2 that allows OAuth 2 integration with an Mastodon instance.
Installing
Install the add-on by extracting the contents of the upload folder to the root of your XenForo 2 installation.
Visit ACP and click install on Mastodon integration
Then configure the add-on by following the steps below.
Setting up your Mastodon app
For this example, I'll be using mastodon.xyz, but any proper Mastodon instance should follow the exact same setup other than the URL.
Create your application by visiting the developer settings area. Example:
This link is hidden for visitors. Please Log in or register now.
Name your application whatever you wish, a good idea is probably your board's name
Add your board's URL to the Application Website field
Remove the placeholder text from the Redirect URI field
Add yoursite.com/connected_account.php to the field, replacing yoursite.com with your board's URL.
Uncheck all scopes but read:accountsView attachment 276757View attachment 276758 as they are not used by the integration at this time.
Configuring the add-on
The Mastodon's application settings need to placed into the Mastodon provider in the connected accounts section of your ACP. The instance URL that you use needs to be placed in Options -> Mastodon options -> Mastodon instance URL.
Code:
https://xenforo.com/community/resources/mastodon-integration.6324
To see this hidden content, you must like this content.