I am doing a website (PHP /MySQL - Facebook SDK), user can login facebook, retrieve their posted (photos, links - with Public permisison) on facebook wall. Then they can show their posted on my site and another facebook user can Like / Share the post from my site.
When a user Like / Share. I call facebook API to update on Facebook also. But I have a problem with Like API.
I used $facebook->api("/$postid/likes", 'post', array('access_token' => $access_token);
I works OK if I Like my posted or my friends posted. But when I Like a posted of user who is not friend it log the error "#210 - User is not visible". I use the app permission: "email, user_birthday, user_likes, user_photos, friends_photos, publish_stream, user_status, read_stream, publish_actions, manage_pages".
Is it possible to do it with FB API or I missed some permission? Please help me!