How to get my own facebook updates to show in my website?

flipperpk

New Member
I'm trying to get my last posts from facebook to store on a database or an array.I tried to get my own updates by doing this:\[code\]<? require_once("src/facebook.php"); $config = array(); $config['appId'] = 'appId'; $config['secret'] = 'secretId'; $config['fileUpload'] = false; // optional $facebook = new Facebook($config); $feed = $facebook->api('/myUserId/feed'); print_r($feed);?>\[/code\]But it returned only my personal information, not my updates, something like that:\[code\]Array ( [data] => Array ( [0] => Array ( [id] => ################## [from] => Array ( [name] => My Name [id] => My Id ) [story] => My Name likes a photo. [story_tags] => Array ( [0] => Array ( [0] => Array ( [id] => myId [name] => My Name [offset] => 0 [length] => 13 [type] => user ) ) ) [type] => status [application] => Array ( [name] => Likes [id] => ######## ) [created_time] => 2012-09-27T13:31:52+0000 [updated_time] => 2012-09-27T13:31:52+0000 [comments] => Array ( [count] => 0 ) ) ) [paging] => Array ( [previous] => https://graph.facebook.com/#######/feed?limit=25&since=1348752712&__previous=1 [next] => https://graph.facebook.com/#########/feed?limit=25&until=1348752711 ) ) \[/code\]What am i missing??
 
Top