开发者

Facebook: How to pass information between pages

开发者 https://www.devze.com 2023-02-24 06:02 出处:网络
I\'ve been following the guide here: https://developers.facebook.com/docs/authentication/ Once I have the server-side flow section working and have access to the accounts information is the idea to t

I've been following the guide here: https://developers.facebook.com/docs/authentication/

Once I have the server-side flow section working and have access to the accounts information is the idea to then store that information in my database and create a session for the user? That way they can log in and out of my site?

If not, how does my site access the user's infor开发者_StackOverflowmation and log the user out when needed?

Thanks!


i check if the user is already saved in the DB, if not i create the users account and then save the info in the session (login the user on my site).

I prefer to use the php SDK provided, because it's easier to call the fb api, and i mix it with the Javascript SDK, to show the login buttons and pop-up... also for the like buttons

Good Luck

0

精彩评论

暂无评论...
验证码 换一张
取 消