I use my own action type in open graph with custom value. The action is working, because I can see in my activity box, if I reviewed an item:
Ildikó reviewed xy item in “XY” application.
However , I can’t see anything else on my wall/timeline.
I mean I like to see a post on my timeline, when I can see the item name what I reviewed,the first sentence from my review and so on.
I use curl to call the url :
The url is ‘https://graph.facebook.com/me/appnamespace:review’; where appnamespace is my app’s , and post the access token, this url, the item what I refer, and description(part of the review) .
$url = 'https://graph.facebook.com/me/'.$this->namespace.':review';
curl_setopt_array($this->_curl(), array(
CURLOPT_URL => $url,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => array(
'access_token' => $token,
'caption' => $review,
'book' => 'http://www.url.com/' . $id,
),
CURLOPT_RETURNTRANSFER => true,
));
What did I do wrong? Do I need to call one more function to share in my timeline too?
The documentation says it’s totally enough to use the url above.
Does your item url have the og tags so Facebook recognizes it as a valid FB graph object?
It might also help to go through my presentation Developing Apps for Facebook Timeline Not well annotated unfortunately, but it does show the minimal set up required to get a timeline app working.
As noted in the presentation, you can also find actual working code on github, which might also help.
Finally, note that there is a difference between timeline and wall (newsfeed) behavior. If you post to the timeline, you’ll always see it there (in either individual or aggregated form). Some of what goes on the timeline MIGHT go in the newsfeed. It’s up to FB. They show what they think the user would be interested in.