Posts tagged with instagram-api

Today, I see the endpoint https://developers.facebook.com/docs/graph-api/reference/v20.0/location that retrieves the location of my own page. Is there any way to obtain the location of third-party users, such as those who comment or send private messages directly to my instagram page?

I tried using this endpoint with the IDs of some other users who contacted my page via DM without success. I can see the number of followers, following, username, among other things.

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 having trouble obtaining the pages_read_engagement and pages_show_list and ... permissions for my Facebook app. I just created the app and selected the Facebook Login type, but the only permissions available in the use cases are email and user_profile.

I want to create an app that can automatically reply to comments with direct messages, so I need the following permissions:

  • pages_show_list

  • pages_read_engagement
    and ...

Here are the steps I have taken so far:

  1. Created a new Facebook app.

  2. Selected "Facebook Login" as the type.

  3. Tried to configure permissions but only saw options for email and user_profile.

How can I add the necessary permissions for my app? Is there a specific process or additional steps I need to follow to request these permissions?

Any help or guidance would be appreciated.

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.

I tried sending an opt-in on Instagram from my creator IG account to my personal IG account to Reoccurring Notifications (Marketing Message). I received the error "(#10) This account is not eligible for the Recurring Notification IG Beta". I have the messaging permission, my app passed App Review, I can send normal messages but its just marketing messages that don't work.

On other forums, people say the beta was supposed to end late 2022. Is anyone able to send these opt In messages without being in the beta program? Is the beta program still a thing? Does anyone have any updates on this?

I sent post request to messaging api with "template_type":"notification_messages" and expected to send an opt-in template message but instead received error saying I'm not eligible for IG beta program.