How do I use the parameter to in a Graph API post. My to parameter looks like this:
to = [{id: XXXXXXX, name: "Name "}, ....]
But it doesn’t work and I don’t receive any error from Facebook.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t set this parameter … if you read a post object the “to” parameter is set if that post was posted to a users wall for example.
So for example if you (user 1) publish something to user 2’s wall and read the post object afterwards the “from” would contain 1 and the “to” a 2. You can’t add “recipients” like this, that’s not what the “to” is for.