我在 MojoPortal 上测试了一些东西,我需要单独添加一个 Facebook 连接按钮并让用户注册网站的注册!我怎么做?
2 回答
This is a too late answer but it may help someone...
To login and register on mojo portal using fb, the easiest way is linking an OpenId, to obtain openId you must create an account in JanRain and setup a fb application for grant access the seccuence is this mojoPortal-JainRain api- fb then the procees is forwback.
This is a complete tutorial Using socialmedia to login MojoPortal.
the only disadvantage is that the free account on JainRain limits the number of registers for month to 2000 I think. I hope this helps and sorry for my bad english XD
你可以在这里找到一个很好的 fb connect 教程
对于 Javascript SDK: http ://thinkdiff.net/facebook/graph-api-javascript-base-facebook-connect-tutorial/
对于 PHP SDK: http ://thinkdiff.net/facebook/graph-api-iframe-base-facebook-application-development/