My question is if i can like a fan page with some graph api or something else? here is my code:
$facebook->api('[fanpage_id]/likes', 'post',
array('access_token' => 'my_token'));
and if i can do it by javascript SDK without the likebox? also i gave the publish_stream premission.
thank you :)