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

Application doesn't have permission for this #22

Open
abhilashi opened this issue Jan 21, 2023 · 3 comments
Open

Application doesn't have permission for this #22

abhilashi opened this issue Jan 21, 2023 · 3 comments

Comments

@abhilashi
Copy link

abhilashi commented Jan 21, 2023

Is this an access token issue or something else? Can someone help out? My ID is confirmed too.

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

Do we need to give any specific permissions? I tried ads_read and ads_management.

@abhilashi abhilashi changed the title Access token Application doesn't have permission for this Jan 21, 2023
@wangdavidm
Copy link

This looks like your ID confirmation might not have gone through? Try double checking Facebook.com/ID (found from the Ad Library API home page).

@jm-yu
Copy link
Contributor

jm-yu commented Jan 25, 2023

The requirement is documented in the ad library api page. (https://www.facebook.com/ads/library/api)

You issue seems to be an access token issue.

are you able to make a successful query in this UI tool? https://developers.facebook.com/tools/explorer/

If yes, then you can copy that access token. If not, then double check steps mentioned in the ad library api page.

If the issue still exists, probably submit a bug report to the https://developers.facebook.com/support/bugs/

@mhwahla
Copy link

mhwahla commented Jun 6, 2024

I WAS FACING THIS ISSUE AND WHAT I DID TOOK 5 MINTS TO SOLVE I WAS FACING THIS ISSUE AND WHAT I DID TOOK 5 MINTS TO SOLVE I WAS FACING THIS ISSUE AND WHAT I DID TOOK 5 MINTS TO SOLVE

screencapture-localhost-8888-notebooks-fb-ads-library-tool-ipynb-2024-06-06-11_55_30

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

4 participants