I’m building a Facebook app using Yii, but I’m running into serious problems handling authentication, especially with MSIE 8.0. In MSIE, the session seems to have the authentication data it needs–but only about half of the time.
Questions:
Is there a Facebook extension to Yii?
If not, can anyone share any kind of wrapper class, which wraps around Facebook’s javascript
I saw the forum article you refer to, but it seems way over the top for my needs. I.e., it uses Yii’s built-in authentication to authenticate the user. It seems to me there must be a far simpler method. I want to simply grab the cookie that Facebook sets when someone is logged in, use that to authenticate; I don’t want to write my own login to facebook.
Can anyone point me to a simple, working example of a Yii application which:
Uses Facebooks’ Javascript SDK
Uses the Graph API PHP module provided by Facebook
I understand if the solution has to create a wrapper class to wrap around the Facebook class provided in Facebook’s PHP SDK, but I’d prefer not to do much more than that. Just a simple way to access the session cookie set by Facebook, and then use Facebook’s API.
p.s. Willing to pay for a simple example which supports Facebook Oauth authentication through all of the major browsers–Firefox, MSIE, Chrome, Safari, etc.!