Hello everyone,
I really got confused by all the APIs i found in google/facebook there seems to be graph API, rest API and whatever else they released there.
What i also found out is that the rest API is going to be deprecated, and people need to start using the graph API
however i find it hard to do stuff i did with the rest API using the graph API, the decomuntation is simply not understandable, i need a short and straight to the point guide on how can i post on facebook (wall,photos,videos,tags and whatever else) using the graph api.
With the rest API i used to do it like this:
Code:
require_once('facebook-platform/php/facebook.php');
try 
{
	$facebook = new Facebook('app ID', 'secret key');
	$facebook->api_client->session_key = 'session key';
	$fetch = array('friends' => array('pattern' => '.*','query' => "select uid2 from friend where uid1={$user}"));
	$facebook->api_client->admin_setAppProperties(array('preload_fql' => json_encode($fetch)));
	$facebook->api_client->stream_publish("some text to post",$attachment,$action_links,'pageID','pageID');
}
catch(Exception $e) {}
Simple as that, nothing more nothing less, why all the new graph api guides contain crap like requiring user login in order to post, i didn't need such a thing with the above code.....
Anyone to help?

Thanks.