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 the Spring Social API:
curl -d "name=test&start_time=1272718027&location=someplace"
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.
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.
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.