I am using the new facebook comments module, and I am intersted in subscribing a user to a conversation via the API. I am referring to http://developers.facebook.com/docs/reference/api/Comment/ but this doesnt seem to have an API call for a user to subscribe to a conversation. Any help is much appreciated.
Thanks in advance.
The comment plugin has subscribe options for each item in the thread for the users. That would be the easiest for the user. Their currently isn't a documented API method for this. You could build something yourself manually, and while possible, it will have the problem that you won't be able to notify them very easily like Facebook allows with the red notification api (you would have to resort to emailing them or something similar). You would also need them to authenticate your application and prompt for various extended permissions.
Related
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
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.
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.
Is it possible to block a user on Facebook using the open graph API?
I am NOT looking to block a user from an App, but would like to allow users to block a facebook friend if they wish in my app. This would be the same as visiting Facebook.com and blocking a user which hides them from all of your feeds etc.
So far I have done a lot of digging and cannot find an answer. Still pouring over API but figured I would see if anyone has nay experience.
Thanks!
No, it is not possible to modify a user's friend list or blocked list via the API
I'm using Facebook Connect's "Comments Box" (http://wiki.developers.facebook.com/index.php/Comments_Box) to handle comments on my blog. However, there doesn't appear to be an easy way to find out when people comment - ideally I'd like to receive an email whenever it happens, but I'd settle for an RSS feed or similar.
Is there an easy way to set this up?
Officially as an admin you can enable "notifications" but these are just the passive things that show up when you log on to Facebook itself - I rarely do this, and anyway it doesn't seem to work for anonymous comments.
You need to hook up the onComment event to ping you. Take a look at the bottom of the http://wiki.developers.facebook.com/index.php/Comments_Box page where they specify the FB.CommentClient.add_onComment callback.
Depending on your blog api, you could have the onComment callback make an ajax call to your blog, so then the blog server emails you. We'd need more details to help you there.
You can now add yourself as a Moderator, and then you'll get notifications via Facebook's own notifications system.
https://developers.facebook.com/tools/comments
Here's a detailed description of how to set it up if you have your own PHP-capable server. It's about adding Facebook comments to Tumblr, but I think the email notification part will work equally well with non-Tumblr blogs.
http://gallery.lifewithboys.com/tumblr/_article/add_facebook/index.html
//Lars