//Update: You can read th answer below. Solution is to build a chat using the facebook chat api(and you should use it as a chat, not a messaging system but it will leve messages.)
So I have the following conversation between me(HiQ) and Magnus on Facebook. As I understand there is no way to initiate a conversation from the graph api but I should be able to respond to messages according to https://developers.facebook.com/docs/reference/api/using-comments/
I have two problems. (my attempted solutions follows) 1. I cannot get the individual comment. Figure 2 (I can get comments collection Figure3) 2. I cannot reply to comments. Figure 2.
Also note I have all permissions set to allow and if I didnt graph api explorer should ask for it prior to request.
Figure 1. The message/conversation
Figure 2. I cannot retreive an individual comment(clicking on the one posted by logged in user .)
Figure 3. Response for just comments working fine.
Attempted solutions: The documentation descripbes posting repluy to comments like this: https://developers.facebook.com/docs/reference/api/publishing/ https://developers.facebook.com/docs/reference/api/using-comments/
Creating Comments and Replies
An individual comment on an object which has a /comments connection can be created with an API call:
POST /{object-id}/comments? message='This is my message' message is the only parameter in this API call. It should be a string containing the comment text.
So I tried the following (with and without question mark after /comments). Figure 4. Attempt to post comment to comments:
And directly towards the comment id(with and without question mark):
Any suggestions welcome cause I'm seriously stuck! The implementation is done with Facebook C# SKD