Send along params with post call does not work
- Titanium SDK version: 1.6.1
- iPhone SDK version: 4.2
I have created a little snippet that posts to facebook on http://pastie.org/1744965. I am using it like this: http://pastie.org/1744971.
What I want to be able to do is to send the message params (or any param since I want to make it generic) to the snippet but it does not work. The feed get published but there is no message.
What can I do? W开发者_如何学JAVAhat is wrong?
Shouldn't your call to execute be sending an object as the parameter and not a string?
{"message" : "This is the message for the feed"}
and not
'{"message" : "This is the message for the feed"}'
Note the missing single quotes ('
)
Your code looks good I would check the Facebook API to make sure you're sending the right format.
精彩评论