Sunday, July 8, 2012

Adding multiple photos and location to Open Graph actions

Photos and places are important for helping users tell rich stories. As such we've now added the ability to attach multiple photos to Open Graph actions and have added better location support. You can now associate your own location data with your Open Graph actions and objects. This means that you can create your own place objects or use a third party location service instead of Facebook place IDs. Stories that include a location will appear on a user’s Timeline map and will be included in their News Feed stories and aggregations.
To take advantage of this expanded location functionality, in your app's Open Graph settings, select "place" from the drop down menu when defining an object and specify the location property with the "GeoPoint" type. You must also select the "places" checkbox when you submit your action for approval. There may be scenarios where you want to rely on third-party location services like Foursquare to attach location data to your actions. We will now accept third party locations and treat them appropriately.
Check out our documentation to learn more about publishing multiple photos for an action and tagging locations in actions.

New summary count fields in event FQL table

We've added the following fields to the event FQL table to make it easier to get the counts of users RSVP-ed to an event:
  • all_members_count
  • attending_count
  • unsure_count
  • declined_count
  • not_replied_count

No comments:

Post a Comment