Questions tagged [facebook-business-sdk]
67 questions
5
votes
0 answers
This endpoint requires the 'manage_pages' permission or the 'Page Public Content Access' feature"
I am using facebook's business onboarding API for my clients to create Facebook ads. The Facebook marketing API version is v4.0 and we are using "PHP facebook graph SDK" for all the API calls. My application flow for creating a Facebook campaign is…

Jyoti Tambare
- 51
- 1
- 4
4
votes
1 answer
Facebook Marketing/Insights API returns OAuthException with error code 100 missing permissions
Lately, the Facebook Marketing API throws an OAuthException error with code 100/missing permissions. When looking into the Facebook Developer App, nothing indicates that the permissions are missing or not configured properly. The permissions needed…

Obdam
- 57
- 1
- 7
4
votes
0 answers
facebook marketing api, cant get draft campaigns, ads and adsets
I trying to build my develop environment to test the facebook marketing api.
I have created campaigns and adset and ads as drafts and when
I Try to get it as draft I'am using this endpoint
act_xxxx/campaigns/?include_drafts=true
But I getting…

Yacov Rosenberg
- 41
- 1
4
votes
2 answers
Facebook is throwing "Please specify an image to run with this ad." when trying to create an Ad
Facebook is throwing "Please specify an image to run with this ad." when I try to create adcreative id in turn to create an ad. Its throwing an image error but the image_hash is valid and verified.
I followed the following documentation to create…

user4504661
- 493
- 7
- 14
3
votes
0 answers
Can the Facebook Marketing API return a list of objects that represent each individual click on an ad, including the FBCLID and spend for each click?
So far I've been able to get an overview of the total number of clicks during a specified time period using the Insights API:
{"impressions":"5547","spend":"160.53","clicks":"206","date_start":"2022-06-08","date_stop":"2022-06-08"}
What I would…

voltzart
- 31
- 3
3
votes
0 answers
FB Business verification error - Something went wrong. We're working on getting this fixed as soon as we can. You may be able to try again
I am working on a new business and created my page on FB. I tried to verify my business as per instructions at this link on fb.
The instruction article has a hyperlinked for security centre whcih opens a page with pre-populated values (which are…

MSP
- 45
- 6
3
votes
0 answers
Can't query instagram user with Graph API
Things were working find until yesterday. I'm developing a simple Instagram app, I made a basic login flow. Now, when I try to log in for the app with a business facebook account I get a message "You don't have any Instagram Business Accounts linked…

Michał Sadowski
- 1,946
- 1
- 11
- 24
3
votes
0 answers
Is there a way pull AdAccount invoices via Facebook API?
I'm trying to automate the task of pulling invoices from multiple AdAccounts on Facebook.
* I'm using their Business Manager API without the 'month-end-invoicing'.
Iv'e Tried using getBusinessInvoices() call using the PHP-SDK as a system user of a…

itay_alon
- 118
- 1
- 8
2
votes
1 answer
Not able to create system user for facebook business
I created app at https://developers.facebook.com for WhatsApp Business.
To create permanent token (System user access token) , I'm trying to add System user at https://business.facebook.com/ but every time getting the message as You have been…

Harshad Panmand
- 410
- 5
- 19
2
votes
1 answer
Facebook Audience Network Mediation with admob : We haven't received a bid request
Facebook Audience Network Mediation with admob : We haven't received a bid request

Pratham Jindal
- 77
- 1
- 9
2
votes
1 answer
facebook-business | Update from 10->12
Does anyone know what could be causing this depreciation issue (act_******** technically is an actual number, but hiding it from the question)?
Message: Call was not successful
Method: POST
Path: …

CJL89
- 105
- 2
- 15
2
votes
1 answer
Integrate WhatsApp Business API with WhatsApp Product Catalogue
We are building a e-retail bot on WhatsApp platform. I would like to understand if there is a possibility to integrate the Whatsapp Business Api with the product catalog option they provide in the WhatsApp for Business App.
WhatsApp Business API -…

Pavan Andhukuri
- 1,547
- 3
- 23
- 49
2
votes
0 answers
Is it possible to create system user via /access_token endpoint with Test User access token?
I am developing an application based on On Behalf Of framework. https://developers.facebook.com/docs/marketing-api/business-manager/guides/on-behalf-of
To implement the framework we need to create System User in clients Business Manager.
Here are…

Aidis
- 1,272
- 4
- 14
- 31
1
vote
0 answers
(#100) Missing permissions while access facebook ads data using marketing api using facebook-business sdk
I created a facebook app with the required permission below to read all of my campaign ads data.
Section of code:
def get_facebook_campaign_data(app_id,app_secret,access_token,account_id,s_date,e_date):
# try:
…

iamabhaykmr
- 1,803
- 3
- 24
- 49
1
vote
0 answers
What it's wrong with this code in py using the facebook_business api?
I want to create an app that posts a video to facebook and gets the auto generated caption.
from facebook_business.api import FacebookAdsApi
from facebook_business.adobjects.video import Video
from facebook_business.adobjects.videothumbnail import…

Felipe Tavares
- 13
- 3