开发者

Can Facebook's fb:comments notify me when a new comment is posted?

I'm using fb:comments as described here.

Comments work fine but I can't find a way to be notified when a new comment is added. Is there a way to easily find new开发者_开发知识库 comments (without visiting my 3000 articles each time)?

I know FB did some changes to the way notifications work but I hope they left a way to do this.


I think you should able to do this by using the event subscription: http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe


I don't see a way right now. Maybe one day they'll add it to the real-time updates: http://developers.facebook.com/docs/api/realtime

I think for now you may be stuck polling for them with:

https://graph.facebook.com/POST_ID/comments

(for example)

https://graph.facebook.com/19292868552_118464504835613/comments?access_token=2227470867%7C2.FEEAvi5BbYBzdSQ5WM8otg__.3600.1288310400-100000309017680%7CeGASV-HXqF18-L0Y1x6_kVcjgxM

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜