Set up a Member App
Set up a Member App
This guide describes how to set up and configure a Hootsuite Member App. Unlike Organization Apps, Member Apps use the member_app grant type to access social media accounts for any individual user who has installed your application.
Step 1: Get your App ID
You first need to create your application in the developer portal to generate the necessary credentials.
1.1: Create a Hootsuite App
- Log in to your Developer Portal.
- Create a new app or select an existing one.
- Ensure your app is configured with the necessary permissions for the social networks you intend to access.
1.2: Retrieve the App ID (appId)
- In your Developer Portal dashboard, select the app.
- The
appIdis visible in the browser URL.- Example:
https://hootsuite.com/dashboard#/app-directory/developers/app/<your_app_id>/my-app
- Example:
Step 2: Retrieve App Credentials
To authenticate your requests, you will need the OAuth 2.0 credentials assigned to your app.
- Inside your app settings in the Developer Portal, navigate to the Authentication tab.
- Copy your Client ID and Client Secret.
Step 3: Retrieve the Member Access Token
Once a user has installed your app, you can use the Hootsuite OAuth 2.0 Token endpoint to retrieve an access token.
Using the oauth2Token Endpoint
You will make a POST request to the OAuth2 Token endpoint.
| Parameter | Value | Description |
|---|---|---|
grant_type | member_app | The grant type required for member-level application access. |
client_id | YOUR_CLIENT_ID | Your application's public identifier. |
client_secret | YOUR_CLIENT_SECRET | Your application's private secret. |
member_id | YOUR_MEMBER_ID | The ID of the member who installed the app. |
Step 4: Test the Token Request
You can verify your setup by executing a POST request. This command uses HTTP Basic Authentication for your Client Credentials.
🔑 The curl Command
curl -X POST \
-u "YOUR_CLIENT_ID:YOUR_CLIENT_SECRET" \
-d "grant_type=member_app" \
-d "member_id=YOUR_MEMBER_ID" \
"https://platform.hootsuite.com/oauth2/token"