68 Comments

danieln
mudHOAX, Was there any updates to be done to get the system working?? I'm still stuck on this plugin.
mudHOAX
ignore my last comment, I managed to get it all working; I really should heed warnings and read comments :P Awesome tutorial and plugin!
mudHOAX
hey, great tutorial and an awesome plugin; however I seem to be running into some problems with it; it appears that the Facebook Connect component causes a redirection loop when using the Login button. Please advise
andrew1980uk
Yeah I am having the same problem as danieln. The plugin seems to be putting in the right tags it's just not getting anything back from facebook.
danieln
Hi Nick, thanks for the video sharing! I am trying your code here but sadly I can't even get the share button out on the page. I have put the plugin on the main plugin folder as per your example, but seems like it is not loaded at all. any advice on where I should start looking from? I am using it with cakephp 1.3.10. the plugin I got it from "http://www.webtechnick.com/wtn/blogs/view/238/Facebook_Plugin_v2_0_Graph_System" Another things is that facebook seems to have made some layout change this week and now the appID & API _key are the same. not sure if this could cause any effect on the plugin.
taqman
thank Nick For Great Plugin you
brijbhushan85
Great Work Nick, I was looking for this for a long time in cake. keep it up. I am very happy with cake TV.
exn
chmak, cwack .. chmak cwack. can you remake the movie without this annoying sounds please !?
ibryildiz
Hey friends. I try to figure out facebook user email. I used $this->authUser[$this->User->alias]['email'] = $this->session['email'] in connect.php file. But, it returns null and i am getting an error. I think, problem is $this->session['email']. Because when i use $this->authUser[$this->User->alias]['email'] = "example@example.com, it works. How can i save user email from facebook to my database? I need help!!!
hawkfx
Hello nick, wich Chrome theme you use? Thanks
jpk15211
Great tutorial, Nick. A problem I am having, though, is that I cannot find the "User" model anywhere. I want to make associations between the User model and other models (e.g., User HABTM Clubs), and I need to define those relationships in the User model, correct? If not, where do I define those relationships?
leighmac
that was great! used this today, thank you.
kages
Amazing tutorial, exactly what I was hoping it was.
WoNHommer
Hey, I have a problem I'm having a hard time to determine why/how it happens... While the user first opens the app, he is already logged-in to facebook (it's a canvas app). It is supposed to create a user if there's no user present with the same "facebook_id". It does create the user, but if in the mean time the user refreshes the page, it creates a duplicate, with same facebook_id and different id... Any idea how I can solve this?
mece7
the problem with the chrome happens only in localhost, so its not a real problem after all. Thank you for this great plugin :)
mece7
there is problem with this plugin in chrome the browser just keeps refreshing. good plugin though... Any help with this one please
daydreamer
ok, thanks, I appreciate this !
webtechnick
@daydreamer New documentation: https://github.com/webtechnick/CakePHP-Facebook-Plugin
webtechnick
@daydreamer: In the most recent version of the plugin (v2.4), I've added callback functions (beforeFacebookSave(), beforeFacebookLogin(), afterFacebookLogin()). You'll need to add some logic in your afterFacebookLogin() function to redirect to $this->redirect($this->Auth->redirect); Hope that helps
daydreamer
Hi Nick, thanks for the plugin. I am trying to create a FB app using this plugin. However, when I'm trying to login using the default Auth, I get redirected to the page I initially wanted to be (but could because I wasn't authorized) after my login. Using the plugin, the authentication works perfect, but I don't get redirected anymore and I stay on the login view. Do you know how I can fix this? Thanks