Posts under category facebook-graph-api

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.

We have been using Facebook login in our app since forever and this has always worked well.

We have upgraded to the SDK v.17 and have changed the code to use limited login into our app. When we open the Facebook login screen, we are always getting this warning:

"If you are not using Limited Login, you will need to handle all Graph API calls using Graph API, iOS. The access token will not be valid. To learn more about changes to the Facebook SDK for iOS and how you can continue using the Facebook Login SDK, visit the blog."

This is strange, because as you can see in the screenshot it does go to limited.facebook.com...

We have implemented it as per the documentation, here is a code snippet with the relevant lines of code:

     let facebookManager = LoginManager()  guard let configuration = LoginConfiguration(permissions: ["email", "public_profile"], tracking: .limited, nonce: UUID().uuidString) else {     return }         facebookManager.logIn(configuration: configuration) { [self] result in     switch result {     case .cancelled:            // throw cancelled     case .failed:            // throw failed     case .success:         if let token = AuthenticationToken.current?.tokenString {            // send token to server         } else {            // throw no token error         }     } } 

Why do we get the warning on the Facebook Login page? Other than the above, is there anything else weI need to change to use limited login? What are we missing here? Also the token we get back doesn't seem to be valid (yet to be confirmed).

FB recently deprecated a number of page metrics, included some we used to generate charts of user interactions divided by day.

https://developers.facebook.com/docs/platforminsights/page/deprecated-metrics

In particular, one metric that was very useful was page_positive_feedback_by_type. It used to return a sum of actions including the counts of comments, likes, shares, over a range of time.

We tried page_post_engagements but it doesn't provide details on which types of engagement are recorded.

So far we're left without a clear way to populate a chart of page comments by a period of time. An alternative would be to get all post types, including ads, for a page, and query comments for all of them, but would result in a huge number of queries which can be both impractical or un-feasible for longer timespans or pages with lots of contents.

What are you using as replacements for these endpoints?

I'm creating a facebook tool and the tool requires me to have a token containing the following permissions: pages_show_list, pages_read_engagement, pages_manage_posts Can you tell me what kind of token format has those permissions and can you help me how to get that token?

I tried tokens in EAAG, EAAB format but they don't have enough permissions for my purpose so I'm hoping to get another token format that has full permissions (or at least it has the above permissions like I said)

My project is to post on Facebook using open ai generated content and I created a developers account along with a new Facebook account I need page access token and permissions but the only permissions allowed to me are email, public and payment permissions and I can't get access to page access token and I don't know how to set api endpoint here for redirect url.

I tried making the model that generates the caption but I can't put it here it shows error of not having the valid token