This is to follow up on a previous post on which the two PHP scripts were discussed. The problem with the existing files is that they are accessed by bypassing the Facebook page for authentication. This will not work for our application as real PHP proxies must reside on the same host on which the calling HTML resides. So I need to figure out whether it’s the token or the session ID which is used for authentication and how to capture it with JavaScript. Once this is clear it will be easy to pass this parameter to a modified PHP proxy which would get and return the Facebook XML data and would be called like this: http://people.emich.edu/xyz/fetchFriends.php.
200703091636-03