Posts under category Facebook Graph API

I am trying to create a slider for the feed of a Facebook page with slider revolution. When I try to link the Facebook account to the slider I get this error: "Facebook API error: error getting access token for page data", while the Instagram account bound to that page works.

I have also tried to create the token manually from developper.facebook.com with API Graph and inserted the token into the slider, but I get this other error: Make sure that the stream settings are prorerly selected in Module General options > Content > Stream Settings In the API Graph tool in the me/accounts endpoint I get this result:

{   "data": [     {       "access_token": "my token",       "category": "Organization",       "category_list": [         {           "id": "my ID",           "name": "My organization"         }       ],       "name": "My Page name",       "id": "page ID",       "tasks": [         "ADVERTISE",         "ANALYZE",         "CREATE_CONTENT",         "MESSAGING",         "MODERATE",         "MANAGE"       ]     }   ],   "paging": {     "cursors": {       "before": "QVFIUmQ3bVNJT05ZATVREaFp3ejRRRzdreHg5Q3pnV0xXbFFmWXk2ZAUo3Mm9lZADhTN0c5YnF2QTBienJKWG1tZAy0tXzhRZA0lhUGEzcVVzVkhNcTRzQ3I1R0N3",       "after": "QVFIUmQ3bVNJT05ZATVREaFp3ejRRRzdreHg5Q3pnV0xXbFFmWXk2ZAUo3Mm9lZADhTN0c5YnF2QTBienJKWG1tZAy0tXzhRZA0lhUGEzcVVzVkhNcTRzQ3I1R0N3"     }   } } 

In WordPress I disabled all the plugins and custom theme, but still have error. What could be the problem? Thank you any help

I have a Facebook app running in production, and I've created a system user within Facebook Business Manager. After generating a system user access token, I have also generated a user access token for the system user. However, the API response only returns the page ID and not the page access token. What steps should I take to ensure that the system user has the necessary permissions, and how can I retrieve the page access token successfully?

I generated a system user access token and used it to call the Facebook Graph API to retrieve the page access token. I expected the API to return the page access token, but instead, it only returned the page ID. I was expecting the access_token field in the response but did not receive it.

Here is the CURL used to fetch the page access token :

curl -X GET "https://graph.facebook.com/v19.0/{page_id}?fields=access_token&access_token={user_access_token_or_system_user_access_token}"

I’m working on a React Native app and want to track app installations using Facebook’s Conversion API. I’ve set up Facebook’s SDK in my app, but I’m having trouble integrating the Conversion API.

Here’s what I’ve done so far:

  • Integrated Facebook SDK for React Native.
  • Configured Facebook app events. Events can be seen on the Events Manager dashboard.
  • Consulted the Facebook documentation on Conversion API.

I’ve found that the Conversion API is mainly designed for server-side tracking. My questions are:

  • How can I send installation events from a React Native app to the Facebook Conversion API?
  • Are there any specific libraries or tools I should use to facilitate this integration?
  • Should I send these events directly from the app, or is it better to send them through a server? Any guidance or examples would be greatly appreciated!

I really appreciate any help you can provide.

Wondering can anyone point me in the right direction here. I am trying to access the activity endpoint of the facebook marketing api and keep getting a missing permissions error.

https://developers.facebook.com/docs/marketing-api/reference/ad-activity/

Can anyone help or point me to what I am doing wrong?

I am following this stack so think I am right in graph endpoint:

Using the Activity Log Endpoint in the Facebook Marketing APIs

Endpoint I am creating looks like this in python:

url = f"https://graph.facebook.com/v20.0/act_{account_id}/activities?access_token={access_token}" 

I have tried recreating my token and giving all permissions to it and still getting the same error so not sure what I am missing. Can someone point me to the permissions required for it? This is the error I'm seeing:

Here is the error:

{'error': {'message': '(#100) Missing permissions', 'type': 'OAuthException', 'code': 100, 'fbtrace_id': 'Aa6zg3SUnxRo_rLBI6EQTtA'}} 

I have my own instagram account and i have created an app in meta for my account automation.

Everytime i automate private replying to a DM, i get below error after sometime.

{   "error": {     "message": "The thread owner has archived or deleted this conversation, or the thread does not exist.",     "type": "IGApiException",     "code": 100,     "error_subcode": 2534001,     "fbtrace_id": "AgLmAH4eepLIf1PqLBN3y4J"   } } 

When i reply with a comment, i get this below error.

{   "error": {     "message": "This API call does not support the requested response format",     "type": "OAuthException",     "code": 20,     "error_subcode": 1772111,     "is_transient": false,     "error_user_title": "Create Comment Failed - Spam Detected",     "error_user_msg": "To protect the Instagram community, your comment was flagged as spam and could not be added. Please review your comment's content and try again.",     "fbtrace_id": "Aj9iw77tVvnd-loKZG7ULPy"   } } 

There is no documentation for these error code on https://developers.facebook.com/docs/messenger-platform/error-codes/

  1. My meta app is verified.
  2. I am using long lived access token in api calls.

Everything seems fine, why is instagram blocking my automation? How is same working with manychat?

Intially i found some reference to verify my app to prevent this error. So, i have verified my meta app with meta.