Call undefined method in facebook call for postUserAction

I get the following using a PHP client on my server (connection over FBML). I have included the relevant php files (facebook, etc.)

Fatal error: 
     Call to undefined method FacebookRestClient::feed_publishUserAction() 
      in ..../index.php on line 50

      

I am trying to use the example provided .

Any ideas?

+1


a source to share


2 answers


You might want to do a quick scan / grep through your Facebook API files (facebookapi_php5_restlib.php) and make sure a method exists feed_publishUserAction()

. Perhaps you are using an older version of the API library?



+2


a source


OMG I found the answer

Because facebookapi_php5_restlib.php that facebook.com gave you some of the outdated shit

i.e. you cannot find the word feed_publishUserAction in facebookapi_php5_restlib.php file



HOWEVER, the official facebook emoticon demo from this facebook wiki page contains the more complete facebookapi_php5_restlib.php as well as the feed_publishUserAction function

Which finger would you like to show the facebook developers staff?

0


a source







All Articles