PHP Classes

How do you Post Facebook Status Update?

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  How do you Post Facebook Status Update?  >  (Un) Subscribe thread alerts  
Subject:How do you Post Facebook Status Update?
Summary:How do you Post Facebook Status Update?
Messages:3
Author:Michael DeMutis
Date:2013-03-05 17:46:14
Update:2013-03-06 14:25:40
 

  1. How do you Post Facebook Status Update?   Reply   Report abuse  
Picture of Michael DeMutis Michael DeMutis - 2013-03-05 17:46:14
Trying to post to the facebook API to do a status update. I tried this:

$args = array(
'message' => $comment,
'link' => $url,
'caption' => $title
);

$success = $client->CallAPI("/me/feed", "post", $args, "","");


This does not work, can you tell me how to do it using your API call?

  2. Re: How do you Post Facebook Status Update?   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-03-06 01:32:19 - In reply to message 1 from Michael DeMutis
You need to put the whole URL of the API call. You also need to set the access_token variable to the previously retrieved token value during authorization.

  3. Re: How do you Post Facebook Status Update?   Reply   Report abuse  
Picture of Michael DeMutis Michael DeMutis - 2013-03-06 14:25:40 - In reply to message 2 from Manuel Lemos
Yes I got it to work thank you!