Question

I'm getting the following using the PHP client on my server (connecting via FBML). I've included the appropriate php files (facebook etc..)

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

I'm trying to use the example given.

Any ideas?

Was it helpful?

Solution

You might want to take a quick browse/grep through your Facebook API files (facebookapi_php5_restlib.php) and make sure that the feed_publishUserAction() method exists. Perhaps you're using an older version of the API library?

OTHER TIPS

OMG I found the answer

Because the facebookapi_php5_restlib.php that facebook.com provided you is a piece of outdated shit

i.e. you won't be able to find the word feed_publishUserAction in the facebookapi_php5_restlib.php file

HOWEVER, the official facebook smiley demo from this facebook wiki page , contained a more completed facebookapi_php5_restlib.php , along with the feed_publishUserAction function

Which finger would you like to show to the facebook developer staffs?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top