randombits
randombits

Reputation: 48440

Facebook Open Graph requiring URL to publish an action

It looks like Facebook's Open Graph API requires a URL to publish an action. My confusion is that my workflow is the following:

How am I to publish to my timeline if Facebook is showing examples such as the following:

https://graph.facebook.com/me/recipebox:cook?
  recipe=http://www.example.com/pumpkinpie.html&access_token=YOUR_ACCESS_TOKEN

My app has no http://www.example.com/pumpkinpie.html. I need to be able to post the Open Graph API from my server whenever an event is generated from the client to the server.

Upvotes: 3

Views: 1309

Answers (1)

Igy
Igy

Reputation: 43816

You need a URL - even if when users land there all that happens is they're redirected elsewhere, you need a URL with the metadata that describes the object.

If the server doesn't have an URL which represents the object you're taking the action on, where would people interacting with that story on Facebook go?

Upvotes: 3

Related Questions