I am getting Invalid Scope for user_profile
Users are getting error "Invalid Request: Request parameters are invalid: Invalid scope: user_profile"
Tony-Marketing-API.cn is a vibrant community dedicated to Facebook, Meta,Google Ads api, app development, Instagram, and related technologies. It offers valuable bug solutions, troubleshooting cases, and problem-solving strategies shared by users. Stay updated with real-world solutions, development tips, and the latest trends in digital marketing and app development.
Users are getting error "Invalid Request: Request parameters are invalid: Invalid scope: user_profile"
Hi everyone,
I'm working on a project using the Facebook Graph API, and I'm encountering an issue: the followers_count field is returning empty or null, even though it should contain the follower count.
Here’s what I’m using:
API endpoint: https://graph.facebook.com/v21.0/{id}?fields=followers_count Expected result: The number of followers for the given ID. Actual result: The followers_count field is empty or null. I’ve double-checked:
My access token and API version (v21.0) are valid. I’ve granted all required permissions, including those for pages_read_engagement and similar. There’s no mention of deprecation for this field in the documentation. Has anyone else faced this issue or knows what might be wrong? Any suggestions would be greatly appreciated!
Thanks in advance! 😊
When attempting to retrieve user information using the Business Discovery API, the following error occurs:
{
"error": {
"message": "Invalid user id",
"type": "OAuthException",
"code": 110,
"error_subcode": 2207013,
"is_transient": false,
"error_user_title": "ユーザーが見つかりません",
"error_user_msg": "ユーザーネームがbluebottleのユーザーが見つかりません",
"fbtrace_id": "AxX0EJGEPlWYCai8TxpLoK7"
}
}
The user in question has a pro account, and this has previously been retrievable. The bluebottle account mentioned in the documentation (https://developers.facebook.com/docs/instagram-platform/instagram-api-with-facebook-login/business-discovery/) is also not retrievable.
Is anyone else experiencing this issue? If anyone can report this as a bug, please do so.
I have migrated our App to the IG API with IG Login using instagram_business_basic permissions due to the Basic Display API going out on Dec 4th, 2024. This new API works for only a handful of our clients. When trying to get a long-live token for a portion of our clients' IG accounts the API call returns the following error: "Unsupported request - method type: get". The endpoint we are using to get a long-live token is: GET https://graph.instagram.com/access_token ?grant_type=ig_exchange_token &client_secret=YOUR_APP_SECRET &access_token=SHORT_LIVED_ACCESS_TOKEN
The original API call is: GET https://www.instagram.com/oauth/authorize ?client_id=APP_ID &redirect_uri=REDIRECT_URI &scope=instagram_business_basic &response_type=code
It is very unclear to me why it works for some clients but not for others
So recently the Instagram Graph API endpoint to get recent_media for a given hashtag started sending a cursor and a next page link even if there are no more results.
Expected behavior: No cursor is passed if there are no more paginated results.