Hey,
on my site right now I'm trying to have it post to a users wall a media file.
I had it working on the old api before, but now I'm trying to get it working on the new one and I'm having an issue.
I'm running this
$facebook->api_client->stream_publish($message, $attachment, $action_links);
Is that the old api or the new one? Because I'm getting this error
Call to a member function stream_publish() on a non-object in
I was reading a tutorial and it said to do this
$statusUpdate = $facebook->api('/me/feed', 'post', array('message'=> 'the message', 'cb' => ''));
but how can I post an attachment/ action links using that?
Thanks!