Posts tagged with facebook-login

i'm working on an extension for OpenCart to bind social account to OpenCart Account i'm keep facing this issue:

Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request 

i'm sure that the redirect_uri is the same since i'm refrencing the same class variable in step 1 and step 2 of the Facebook login process but still got the same issue.

i had tested all solution suggested by people but none worked. here's my code and a screen shot of "Valid OAuth Redirect URIs"

I have checked this condition.

  • I checked and verified the privacy policy URL, terms and conditions URL and account delete step URL.
  • Deleted and recreated the app configuration, then checked again.

Issue message -

Platform Term 7.d Platform Term 7.d - App Settings Platform URLs are broken During regular review of apps on the Meta for Developers platform, we found that one or more of the Platform URLs listed in App Settings returns an error. This violates Platform Term 7.d. To resolve this violation, and app admin must complete these steps: Check that the URLs and App Store IDs listed for the Platforms selected in App Settings are up to date and functional. For an overview of these platforms, visit Platform Settings. Test your URLs for errors using Meta’s Sharing Debugger. Look for valid codes 200–299 in the “Response Code'' field. Violating codes are 100–199, 300–299, 400–499, 500–599. Allowlist the IP addresses (most secure) or the user agent strings used by Meta’s URL crawler. If you don't take action to resolve this issue before the due date, your app will be deactivated. Your app will not be reinstated until we confirm that the violation is resolved.

We have an app that makes posts to a page under a Facebook account. We use Facebook Login to get permission to do so. This app will be used by many of our clients, each of whom gets a subdomain under ihouseelite.com. Since we are using the Javascript API for login, we need to set the "Allowed Domains for the JavaScript SDK" value. We used to be able to use wildcards for this values ( "https://*.ihouseelite.com), but that has been disallowed. We currently have over 1000 customers, and hopefully will be adding more.

Can we update this value programmatically? I tried using app_domains from this page:

https://developers.facebook.com/docs/graph-api/reference/application/#parameters-3 curl -i -X POST "https://graph.facebook.com/APP_ID? app_domains=DOMAIN_LIST&access_token=APP_ACCESS_TOKEN 

But that changes the App domain, not the allowed javascript domains value.

I am trying to set up an Instagram Graph API integration.

The problem in short: when trying to query the GET /me/accounts endpoint, i get an empty data list (pages list). And that makes me unable to continue with data fetching (beacuse I need his instagram user id).

Details:

  • My instagram app is not live yet, still in development (yet to go through app review process)
  • Im trying to do it with an access token of a friend (for my account it works). I think I completed all the prerequisites for that to be possible: added his developer account as a developer in my app, he connected the instagram account to the facebook page, i got the access token with the following permissions: instagram_basic,pages_show_list,pages_read_engagement,instagram_manage_insights
  • The same flow works for my account
  • The same result received when using the Graph API Explorer
  • Im basically trying to set up with those two guides (tried both ways, still empty list): https://developers.facebook.com/docs/instagram-api/getting-started and https://developers.facebook.com/docs/instagram/business-login-for-instagram

I am trying out the Instagram Graph API for the first time to get the user page ID, aiming to retrieve the Instagram business account ID. However, when I use the Graph tool for my app and enter me/accounts, it returns nothing. I read that me/accounts should return various data, including what I need, but it comes up empty despite fetching the access token properly.

I've had trouble finding updated documentation on the correct permissions needed for me/accounts. Some permissions don't seem to be available anymore. I've tried many permissions, but nothing works. Currently, I have the following permissions: pages_show_list, instagram_basic, instagram_manage_comments, instagram_manage_insights, pages_read_engagement, pages_manage_metadata, and pages_read_user_content. I also have a business Instagram account linked to my Facebook account.

Any advice on how to sort it?

I tried using graph apis and even in meta explore tools as well, but getting data as empty string on fteching me/accounts. I had linked instagram and facebook page and even turned instagram account into business account. Expecting to get all the accounts linked, so that i can use id for content publishing.