Posts under category Meta & Facebook

A few weeks ago, our app was approved with the following permissions:

instagram_business_manage_messages, instagram_manage_comments, instagram_manage_messages, instagram_business_manage_comments

and this is our login url with scopes, example -

https://www.instagram.com/oauth/authorize?third_party=re&client_id=867763&redirect_uri=oauth%2Fcallback&response_type=code&scope=business_basic%2Cbusiness_manage_messages%2Cbusiness_manage_comments%2Cbusiness_content_publish 

Our use case is as follows: when someone comments on our post with a matching keyword specified in our backend, we send a reply to that comment and simultaneously send a direct message (DM) to the user.

However, we're facing an issue where only 1 out of 100 comments successfully sends both the comment reply and DM. In other cases, the comment replies are sent consistently, but the DM fails with the error: "This message is sent outside of allowed window." This occurs 99% of the time.

Given that we have access to the Business API, we are unsure why we are facing this issue. Could you please advise?

this is the

error: {   error: {     message: 'This message is sent outside of allowed window.',     type: 'IGApiException',     code: 10,     error_subcode: 2534022,     fbtrace_id: 'ASeWzBS_LCXn'   } } 

same error code mentioned on fb docs https://developers.facebook.com/docs/messenger-platform/error-codes

We tried with different multiple accounts but same error, but when a user first sends a message to owner of insta post then again comments on post then it sending comment and dm successfully.

I am trying to implement, the Instagram Business login button.
I have followed what is in the documenaion https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/business-login and I am using the embeded link provided in the app dashboard > Instagram > Instagram > Api Setup with Instagram Login > Step 3
When I click on the link it worked a few times but now I always have an error page "please wait a few minutes before you try again" Of coure, I can wait hours , days and I still have the same message.
Developping an app for Meta is really a nightmare
How can I fix that so I can submit my permission request with a workin Instagram Business login button ?

We have a meta tracking pixel on a client website, embedded and tracking correctly using google tag manager. We also show some of the content from the site embedded in a web view in their Android app. We've noticed tha the Webview is throwing an error as the Pixel javascript attempts to access http://localhost. Android, by default since Android 9 disallows cleartext http connections unless explicitly enabled. We don't wish to enable this as it could be insecure. I have two questions 1. Anyone know why it accesses http://localhost ? 2. Why does it do it over an http not https? 3. could this be caused by a misconfiguration?
It is in the javascript retrieved from https://connect.facebook.net/signals/config/?v=2.9.167&r=stable&domain= &hme=&ex_m=
I did try and change the version and some time back, this code didn't reference localhost.
Is there some way I can disable this?

We have thousands of clients who want us to run their Facebook Pages for them and we have a big problem because we can only send 6 requests. For each next request we have to either wait for one of the clients to approve their request or to delete some of the old requests in order to send more. Is there a possibility to increase this limit in some way?
This is endpoint we use for sending requests: POST https://graph.facebook.com/v19.0/{business-id}/client_pages

Dear Developers,
We are currently using the Facebook API to support our company's services. Recently, we have been receiving notifications in the developer console indicating that we need to upgrade our Facebook Graph API version (*1). At present, our app is utilizing version 14.0, and since the support for this version will end on September 17, 2024, we are required to upgrade to v15.0 or higher.
However, when we checked the API Upgrade Tool in the developer console, it shows a message (*2) stating that there are no changes or available upgrades between v14.0 and v20.0. This has made it difficult for us to proceed with upgrading the API version on our own, as the tool does not provide any guidance on how to perform the migration.
We would greatly appreciate your advice or guidance on the following:
How should we proceed with upgrading to v15.0 or higher in light of the message in the API Upgrade Tool? Are there any specific steps we should follow to ensure a smooth transition and avoid potential service disruptions? Your expertise and assistance would be highly valuable to us as we navigate this situation.
Thank you in advance for your help.
(*1)Your App is currently accessing Graph API v14.0 which will reach the end of its 2-year lifetime on 17 September, 2024. We estimate 5 endpoints that calls will be impacted by this change and may stop working after the automatic upgrade push. To ensure a smooth transition, please migrate all calls to Graph API v15.0 or higher. Use the API Upgrade Tool to understand exactly how this change will impact your app.
Note: If you do not see any impacted calls in the API Upgrade Tool, your app/code may not be affected by this upgrade.
Visit our changelog to see the full list of changes in all Graph API versions.
(*2)Your app has no changes for the methods you selected between v14.0 and v20.0