I tried both "send" and "feed" dialogs directly with urls as described in documentation.
Feed dialog: Everything works fine; my redirect_uri is:
- called as is when the "cancel" button is clicked (
http://my.redirect.uri
) - called with the query string "post_id=123456789" when the "share" button is clicked (
http://my.redirect.uri?post_id=123456789
)
Then I'm able to check the posted link thanks to the received id (if I have the "read_stream" permission of course).
Send dialog: The response is not the same; my redirect_uri is:
- called as is when the "cancel" button is clicked (
http://my.redirect.uri
) - called with the query string "success=1" when the "share" button is clicked (
http://my.redirect.uri?success=1
)
I would like to read the sent Message or the related Thread (with the "read_mailbox" permission), but I don't know the message id. I'm able to look for this message in the whole inbox, but this is not really satisfaying to me...
My questions:
- Is there a way to get this id when coming back from Facebook Send Dialog?
- Why isn't this id given in the redirect_uri query string like it is done with the feed dialog? (something like
http://my.redirect.uri?message_id=123456789
)