Take the 2-minute tour ×

I was reading the new api (opengraph) of Facebook have changed, I am trying to post something and tag couple of friends on it... according this https://developers.facebook.com/docs/reference/api/user/#posts I should specify the ids on the part of "tags" but just doesnt work, Ive seen some references but are old...

The problem is that it does post in the wall, but without tagging or showing the place.

I am using php for this.

Anyone have done this??

this is my code

$post = array('message' => 'my message ',
                'name' => 'name',
                'caption' => "something", 
                'link' => 'my page',
                'description' =>"some desc",
        'place' => '323816477724410',<--- id of a city
                'tags' => 'xxxxxx', <---- facebook id

$result = $facebook->api("/".$user."/feed/", 'post', $post);
share|improve this question

1 Answer 1

Please, check the error log. Put your code inside try{} catch{}, and print the exception array, like this:

} catch (FacebookApiException $e) {
    print_r($e); // or error_log($e);
share|improve this answer

Your Answer


