05-03-2013 02:51 AM
I am integrating Facebook in my app. I am using the source provided at sourceforge.net. Till now I had problem with FB login, but now that issue seems to be resolved.
But now am facing problem with publishPost() API which takes parameters as:
publishPost(String pMessage, String pLink, String pPicture, String pName, String pCaption, String pDescription, String pSource).
Since, I do not require the parameters, pMessage, pLink, pPicture and pSource to be posted, I am leaving them blank i.e. sending an empty string(""). But with that I am getting "Missing message or attachment" error. Please someone tell me is Message or Attachment a necesary field to sent for posting. Thanks in advance.
Solved! Go to Solution.
05-13-2013 05:38 AM
I got answer to my question. Yes sending a link (attachment) for publishPost() api in Facebook SDK is necessary. Otherwise we receive a "Missing message or attachment" error.