質問

I am writing an app to offer something to FB users depending on their locations. Current situation : I know how to check one specific user's location. I may periodically check all my users locations in a loop and compare them with their last positions.

Question: Is there a better method to get notified if any user of my fb app checks in ?

役に立ちましたか?

解決

You can try using Realtime Updates, which is a feature that pings your app when a User updates their account. You can activate real time updates from your App Settings page, and configure it to listen to user checkins.

The facebook documentation shows how you can listen to updates. It's much more efficient to use this method, as you avoid making unnecessary calls to Facebook to check each user's checkins.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top