I am working on an application to publish music on the Facebook timeline, but I am having problems with POST, as recommended in the document. I use OAuth 2 to successfully get the Facebook user ID and a valid session_token, but then when I send this message ...
POST https://graph.facebook.com/<user_id>/music.listens?song=<song URL>&expires_in=<seconds>&access_token=<session_token>
I get the following error message from Facebook:
{\ "error \": {\ "message \": \ "An unexpected error occurred. Please try again later. \", \ "type \": \ "OAuthException \"
Still...
- I ruled out invalid and expired tokens.
- I request (and get) several permissions, including publish_checkins, publish_stream, user_likes, friends_likes and create_event.
- I set all my meta tags according to the music documentation of the Facbook OpenGraph.
At this point, it seems that all permissions, tokens, etc. OK. Are there any application settings (possibly related to the og namespace) that need to be set? Other permissions to request?
source share