I am developing a iPhone application in whic开发者_运维知识库h i want to get notification in my application when ever my friends write or post on my wall.
On Facebook web site they saw notification, now i want to get notification in my iPhone application.
Can anybody know how to get those notification through iPhone SDK ?
Any example or idea is very thankful...
Since you can't have an iOS app that continuously checks Facebook in the background and since you can't bring Facebook to send a push notification to your app, you would have to set up a web server that continuously polls Facebook for changes and then sends a push notification to the iOS device when it detects a change.
I know this is an old question, but if you want to push changes in facebook to somewhere it might be a good idea to look into the Facebook Realtime Updates API. As it notifies directly of any changes in facebook you've subscribed to.
精彩评论