The User Profile API allows you to use a Instagram Scoped ID (IGSID) to retrieve customer profile information. You can use this information to create a personalize experience for people interacting with your business.
User consent is required to access user profile. User consent is set only when a person sends a message to a business, or clicks icebreakers or persistent menu. If a person comments on a post or comment but has not sent a message to business, your app will receive an error, User consent is required to access user profile.
You will need:
instagram_basic permissioninstagram_manage_messages permissionpages_manage_metadata permissionspages_read_engagement permissionpages_show_list permissionMODERATE task on the PageIf a customer has blocked your business, you will not be able to view their information.
The following profile fields are available for all Graph API versions.
| Field Name | Description |
|---|---|
| The customers's name (can be null if name not set) |
| The URL for the customer's profile picture (can be null if profile pic not set). The URL will expire in a few days. |
The following profile fields are available for Graph API v12.0 and later.
| Field Name | Description |
|---|---|
| Verification status for the customer |
| Follower count for the customer |
| Indicates whether the customer follows the business or not |
| Indicates whether the business follows the customer or not |
The following fields are available for Graph API v14.0 and later.
| Field | Description |
|---|---|
| The username for the customer's Instagram account |
To get a customer's profile information, send a GET request to the Instagram Scoped ID node for the customer and include the fields you would like to view.
curl -X GET "https://graph.facebook.com/v24.0/instagram-scoped-user-id
?fields=name,username,profile_pic,follower_count,is_user_follow_business,is_business_follow_user
&access_token=page-access-token"
On success, your app will receive the following JSON response:
{
"name": "Peter Chang",
"username": "peter_chang_live",
"profile_pic": "https://fbcdn-profile-...",
"follower_count": 1234
"is_user_follow_business": false,
"is_business_follow_user": true,
}
to check for the status and outages of Meta business products.
to report bugs and view reported bugs, get help with Ads or Business Manager, and more.
to view more resources for Messenger Platform support.