Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is verification by passport or ID absolutely required for this API? #32

Open
naddika opened this issue Sep 4, 2023 · 4 comments
Open

Comments

@naddika
Copy link

naddika commented Sep 4, 2023

 curl -G \
-d "search_terms='california'" \
-d "ad_type=ALL" \
-d "ad_reached_countries=['US']" \
-d "access_token=EAA<.........>" \
"https://graph.facebook.com/v17.0/ads_archive"

===>

{"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":"<...>"}
}

I don't understand - will I have to verify my personal account by passport or ID to then be permitted to use this API?

Or what's this error about?

@chdone
Copy link

chdone commented Sep 5, 2023

Yes in order to use the Ad Library API you will need to verify your ID

@naddika
Copy link
Author

naddika commented Sep 6, 2023

@chdone is it specific to Ad Library API only?

@chdone
Copy link

chdone commented Sep 6, 2023

@naddika yes this only pertains to the API. You can access the information through the Ad Library UI without needing to go through ID verification process.

@naddika
Copy link
Author

naddika commented Sep 6, 2023

@chdone I see. Other APIs of Facebook don't require ID verification?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants