facebookresearch / facebookresearch/Ad-Library-API-Script-Repository

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

Open
#32 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
337
Forks
130
PR merge metrics
No merged PRs in 30d

Description

```
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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.