Integrate facebook users on Plone

时光总嘲笑我的痴心妄想 提交于 2019-11-28 01:24:46

问题


I'm creating a Plone site which will allow users to register with Facebook but I need more than just like boxes and feed forms.

I already have collective.simplesocial[1].

Logged users are expected to have some more data than the Plone default (i.e. height, weight, average workout...) and the data that one can get from Facebook.

So the question is: how can I register users that some data comes from Facebook? Facebook connect is quite handy since whenever the user is logged on Facebook, it will also be logged on my site.

Maybe a Plone PAS plugin? Or just prefilling the register form (though then the user will not be auto-logged with Facebook connect?).

Any help will be appreciated!

Cheers,

[1] http://pypi.python.org/pypi/collective.simplesocial


回答1:


According to comments here:

http://blog.mfabrik.com/2011/04/18/integrating-facebook-with-plone/

Martin's next book would contain related example.




回答2:


I've done some initial work on Facebook-integrated registration and login for Plone:

https://svn.plone.org/svn/collective/collective.facebooklogin

It's basically in prototype stage at this point, but feel free to branch it and extend it to meet your needs. A brief demo of the current functionality is available here:

http://www.screencast.com/users/yomatters/folders/Jing/media/4e3e8aff-1e9c-4133-ad51-ef94ad7a9927



来源:https://stackoverflow.com/questions/5745025/integrate-facebook-users-on-plone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!