facebook-ad-library-scraper
facebook-ad-library-scraper copied to clipboard
Application does not have permission for this action
I get access token from: https://developers.facebook.com/tools/accesstoken
curl -G \
> -d "search_terms='california'" \
> -d "ad_type=POLITICAL_AND_ISSUE_ADS" \
> -d "ad_reached_countries=['US']" \
> -d "access_token=<>" \
> "https://graph.facebook.com/v7.0/ads_archive"
And I get the following error
{
"error": {
"message": "Application does not have permission for this action",
"type": "OAuthException",
"code": 10,
"error_subcode": 2332002,
"is_transient": false,
"error_user_title": "Authorization and login needed",
"error_user_msg": "To access the API, you'll need to follow the steps at facebook.com/ads/library/api.",
"fbtrace_id": "AOxlW9wwYGgl5evOXSPcbiD"
}
}
How do I solve this problem, please help me
You need to enter your authentication token in place of <>
.
In order to do that you need to confirm your Facebook id first via facebook.com/id
You can refer to step 1 here: https://www.facebook.com/ads/library/api
I get access token from: https://developers.facebook.com/tools/accesstoken
curl -G \ > -d "search_terms='california'" \ > -d "ad_type=POLITICAL_AND_ISSUE_ADS" \ > -d "ad_reached_countries=['US']" \ > -d "access_token=<>" \ > "https://graph.facebook.com/v7.0/ads_archive"
And I get the following error
{ "error": { "message": "Application does not have permission for this action", "type": "OAuthException", "code": 10, "error_subcode": 2332002, "is_transient": false, "error_user_title": "Authorization and login needed", "error_user_msg": "To access the API, you'll need to follow the steps at facebook.com/ads/library/api.", "fbtrace_id": "AOxlW9wwYGgl5evOXSPcbiD" } }
How do I solve this problem, please help me
I get access token from: https://developers.facebook.com/tools/accesstoken
curl -G \ > -d "search_terms='california'" \ > -d "ad_type=POLITICAL_AND_ISSUE_ADS" \ > -d "ad_reached_countries=['US']" \ > -d "access_token=<>" \ > "https://graph.facebook.com/v7.0/ads_archive"
And I get the following error
{ "error": { "message": "Application does not have permission for this action", "type": "OAuthException", "code": 10, "error_subcode": 2332002, "is_transient": false, "error_user_title": "Authorization and login needed", "error_user_msg": "To access the API, you'll need to follow the steps at facebook.com/ads/library/api.", "fbtrace_id": "AOxlW9wwYGgl5evOXSPcbiD" } }
How do I solve this problem, please help me
We can't confirm your Facebook id first via facebook.com/id in VietNam. Poor you and me!