我想知道当用户(授予我的应用所需权利的用户)在相册,群组中发布照片或在他/她的状态更新上分享照片时,是否有办法获得实时更新
观看Facebook文档,我觉得如果用户更改他/她的个人资料照片我只能得到更新。
答案 0 :(得分:0)
查看https://developers.facebook.com/docs/reference/api/realtime/处的文档。 它没有准确显示您可以通过实时更新监控哪些属性,但Facebook Developer界面中有一个自动完成功能可以显示以下内容:
name, category, location, phone, checkins, picture, website, hours, company_overview, description, email, feed, founded, features, general_info, general_manager, hometown, products, parking, public_transit, payment_options, price_range, restaurant_services, restaurant_specialties, culinary_team, press_contact, personal_info, personal_interests, productlists, awards, booking_agent, affiliation, bio, birthday, built, genre
这不包括新照片..但您可以使用“Feed”监控这些照片。
答案 1 :(得分:0)
文档很清楚。您希望通过“照片”字段https://developers.facebook.com/docs/graph-api/real-time-updates/v2.0
在“用户”对象上发送通知