Facebook Ad API PHP : Invalid OAuth access token
I am working on the Facebook Ads API and I am totally new for this. I am getting an error to fetch the Ads account. The error is Invalid OAuth access token. After getting this error I came to google…
I am working on the Facebook Ads API and I am totally new for this. I am getting an error to fetch the Ads account. The error is Invalid OAuth access token. After getting this error I came to google…
I trying to get an Ad Account's balance (Bill amount due) using this API endpoint: https://graph.facebook.com/v3.2/{ad_account_id}?fields=balance Unfortunately this API method return old data. 4 hours and older... How to get a fresh data like we can get manually at facebook.com/ads/manager/account_settings/account_billing…
whenever creating or updating an Ad's creative, I'm getting this error: { "error": { "message": "Invalid parameter", "type": "OAuthException", "code": 100, "error_subcode": 1772103, "is_transient": false, "error_user_title": "Instagram Account Is Missing", "error_user_msg": "You're using Instagram as a placement. Please select an…
when i try to POST->v3.2->/me/feed with all permissions Facebook api returns me "(#200) Requires either publish_to_groups permission and app being installed in the group, or manage_pages and publish_pages as an admin with sufficient administrative permission".message isn't very descriptive. what should…
How do I get the user ID mail picture and so on? The picture is very important. I already tried different examples but they didn't work. I want to show the picture on a second screen but that's not so…
I tried to log in with Facebook Graph API and get user info. The code I used to get user info worked before but today I tried login with facebook but Facebook API throwing this error. Undefined offset: 1 /home/****/vendor/facebook/php-sdk-v4/src/Facebook/Http/GraphRawResponse.php…
How to set the gender in Facebook Marketing API targetting spec? I've tried setting the gender but i'm getting gender is not a valid target spec field error. targeting_spec = {"geo_locations": { "location_types": ["recent"], "custom_locations": [ { "latitude": 14.5764, "longitude":…
I've got a database containing offline conversions (email, phone, name, purchase_amount, etc). I can export this database in .csv or .xls and I can also email this file on a daily basis to a Gmail account. As Zapier has a…
I'm currently using Facebook Marketing API to get Ad related data of my Facebook and Instagram page. (I have connected my Instagram page to Facebook page) When I call the below API endpoint, I'm getting data for Facebook and Instagram…
I want to get info about ad campaign. And I start from this code to get campaign name. and I get this error : Traceback (most recent call last): File "C:/Users/win7/PycharmProjects/API_Facebook/dd.py", line 2, in <module> from facebookads.adobjects.adaccount import AdAccount File…