PHP Classes

Making API Calls to Facebook & the "Read Me" File

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  Making API Calls to Facebook & the...  >  (Un) Subscribe thread alerts  
Subject:Making API Calls to Facebook & the...
Summary:Making API Calls to Facebook
Messages:2
Author:Walton Kaley
Date:2014-10-17 22:19:51
 

  1. Making API Calls to Facebook & the...   Reply   Report abuse  
Picture of Walton Kaley Walton Kaley - 2014-10-17 22:19:51
This class has been very helpful for me in using OAuth. I've used it in the past, and I'm currently trying to bring my code up to date.

***

Is there an ideal way to read the "oauth_client_class.html" file? I open it in my browser, but the browser (Chrome & Firefox, at least) don't show formatted text like you intended. The text is all bunched together without any line breaks.

Also, if it's not in that "oauth_client_class.html" file, is there documentation about how to make different API calls to Facebook, for example.

By playing around with the nice example file ("login_with_facebook.php"), I can retrieve posts from my personal feed and from my business page on Facebook.

I would also like to be able to make a "POST" API call to Facebook in order to post to my wall (or my business page), but I'm not sure that I have the syntax right.

Thanks for any suggestions.

  2. Re: Making API Calls to Facebook & the...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-10-18 00:01:47 - In reply to message 1 from Walton Kaley
Yes, the documentation file was incorrect. It has to be uploaded manually, so it was uploaded the source XML instead the generated HTML. The correct file was uploaded now. Thanks for the notice. Just let me know if you have other questions.