Why facebook.php does not work?
I am trying to use facebook API and some functions/objects used 开发者_如何学编程in tutorials are NOT defined in facebook.php (downloaded from github.com). Am I so silly or is there some other think I should know?
Thanks for help,
Roman
Just for your attention: Facebook has changed its whole API structure last week, and their documentation is still in a state of transition.
Make sure you start out from http://developers.facebook.com/docs/ to get only the new version of the API (it is much better than the old one, by the way).
Because they have updated/changed their API recently, try browsing facebook developers section, you'll find the necessary changes there
That's most probably because you are using old facebook client which does not have functions that are in the new php client such as streamPublish
, etc. You need to download the latest facebook PHP client.
精彩评论