Skip to main content

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​

  1. Log in to your Developer Portal.
  2. Create a new app or select an existing one.
  3. Ensure your app is configured with the necessary permissions for the social networks you intend to access.

1.2: Retrieve the App ID (appId)​

  1. In your Developer Portal dashboard, select the app.
  2. The appId is visible in the browser URL.
    • Example: https://hootsuite.com/dashboard#/app-directory/developers/app/<your_app_id>/my-app

Step 2: Retrieve App Credentials​

To authenticate your requests, you will need the OAuth 2.0 credentials assigned to your app.

  1. Inside your app settings in the Developer Portal, navigate to the Authentication tab.
  2. 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.

ParameterValueDescription
grant_typemember_appThe grant type required for member-level application access.
client_idYOUR_CLIENT_IDYour application's public identifier.
client_secretYOUR_CLIENT_SECRETYour application's private secret.
member_idYOUR_MEMBER_IDThe 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"