开发者

SDK Real Time Updates

How do i subscribe to real time updates (http://developers.facebook.com/docs/api/realtime) with the sdk?

1) I want to be notified when a user has a new friend or when a开发者_C百科 friend "unfriend's" them and is no longer there friend

2) When somebody changes there name

3) When a user changes their picture

Cheers

Rob


You can use the FacebookClient (v5 beta) or FacebookApp (v4) class to do the post to the graph endpoint specified here.

Then it's just a matter of creating a page with codebehind that handles the GET and POST requests that Facebook sends when notifying you of a change.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜