I wish to publish an event to Facebook. Looking at the publish method of the FacebookOperations class it's not apparent what the arguments are for. I greped through the Greenhouse codebase and I couldn't find an example.
From http://developers.facebook.com/docs/reference/api/event
From the Spring Social API:Code:curl -d "name=test&start_time=1272718027&location=someplace" https://graph.facebook.com/PROFILE_ID/events
My assumption is that the object argument is the PROFILE_ID in the FB API, and the that data map is the key/value pairs of the events details.Code:void publish(java.lang.String object, java.lang.String connection, MultiValueMap<java.lang.String,java.lang.String> data) Low-level publish-to-Facebook method for publishing any type of object supported by Facebook's API. Parameters: object - The ID of the object to publish to. connection - The connection to be published. data - The data to be published.
I'm however not sure what the connection parameter is for.
Clarification (or pointing out where I'm wrong) is appreciated.
Cheers.


) is appreciated.
Reply With Quote
