Real-time page feed subscription failing - facebook

I'm trying to set up a subscription on my app to one of my pages' feeds using the Facebook real-time api. It looks pretty straight forward but for some reason I can't actually get myself subscribed. I am trying to subscribe using this:
https://graph.facebook.com/<target_page_id>/subscriptions?access_token=<app_token>
&object=page&fields=feed&callback_url=<my_callback>&verify_token=123
And am verifying success/failure here:
https://graph.facebook.com/<target_page_id>/subscriptions?access_token=<app_token>
Can anyone spot what I am doing wrong?
Thanks

1stly, url to subscribe is
https://graph.facebook.com/APP_ID/subscriptions?access_token=app_token
&object=page&fields=feed&callback_url=my_callback&verify_token=123
you should use app_id instead of page_id
also, sadly there is documentation or api bug
http://developers.facebook.com/bugs/134146190023217

Related

Intragram Graph API Webhooks

I have read the documentation, https://developers.facebook.com/docs/instagram-api/webhooks but I am confused as to how the mentions API with the webhooks works and was hoping someone could throw some light my way.
I have successfully setup the hook, and my facebook app is configured to send data here.
I gather I Have to tell the the app that the facebook page linked with an instagram account wishes to subscribe by calling this:
POST graph.facebook.com/{facebook page id}/subscribed_apps which should then hit my hook everytime any linked page gets a mention in a media item or a comment?
This is the bit I am confused on and could really use some help!
Also, can I have multiple pages subscribe to the hook?
Thanks in advance.
Can you figure this out or no
i looked everywhere with no result

Webhook for users checkins on facebook api?

I'm trying to add a webhook for tagged_places for users which authorized my app. It's possible?
I trying to use subscriptions as described here for checkins:
https://developers.facebook.com/docs/graph-api/webhooks/
But I wasn't receiving any POST request, just the GET request for make the subscription.
Does anyone have any ideia how do that?
I stumbled upon your question because I want to do pretty much the same thing. From what I have read so far it isn't possible, since the tagged_places field is not listed as a field which supports webhooks.

Any webhook or way to get notification if somebody sends message to Facebook Page?

I'd like to get a notification when somebody messages my Facebook Page (business). Is there any way to do this?
I see some webhooks Facebook supports at https://developers.facebook.com/docs/graph-api/webhooks but I don't see one that looks that I can use for this.
The "conversations" object may be what you want. You can either use webhooks with that object (preferred way) or you can use a cron job to check for new conversations once in a while.

Tag usernames on messages with the Facebook feed post wall API

Is it possible to send a message tagging a facebook user using Facebook Graph API? (from facebook PHP SDK)
I've tried the #[id:1:name] method, but it doesn't seems to work. Also, I tried using the message_tags parameter, but no luck. Have anyone done this before? As far as I know, Facebook disabled this option time ago; am I right?
As far as what i know, it's not supported and it's not possible via their graph api, but i think i came across a link via google which shows a trick to tag anything with any link.etc.
Here it is: Click here
P.S I personally didn't test that trick, but i did try tagging using graph api but it didn't work.
Try this, check the Mentioning friends https://developers.facebook.com/docs/opengraph/guides/tagging/

How can I send a message/notification/inbox message to all of a page's fans?

Have been searching over the Graph API docs, looking for the answer to this. I have been told and now am pretty sure there is no way for all fan page fans/people that like it to see a message in semi-real-time. I know I could send emails to the users if they use the application, but other then that I don't see anyway possible. This is for my application that provides brand engagement with live events.
Help?
You can post a status update to the wall and that will show up on their feed. That is the best you can do if you haven't collected email addresses.