FB 连接和 magento
作为一名新手开发人员,我的任务是通过我的 Magento 1.4.1.1 网站实现 Facebook 连接。我在网上进行了大量阅读,但没有找到对我的问题有太多帮助的信息,而且我看到很多人都有同样的问题,所以也许每个人都可以学习。
我将 SDK 脚本插入到我的标题中,设置我的频道和 Facebook 应用程序。现在一切似乎都运行良好,但是我在将 Facebook 登录名转换为实际的 Magento 登录名时迷失了方向。我知道我的代码与 Facebook 通信并授权我的网站,但我不明白如何将用户权限提取到我的 Magento 数据库并存储信息。当前您单击“使用 Facebook 登录”按钮,会弹出请求权限的窗口。我不知道如何将此信息保存到我的数据库并允许用户成功连接和登录。
我想我可能需要在某个地方添加更多代码来告诉 Magento 如何存储这些信息?
任何建议或链接将不胜感激。
As a novice developer at best, I have been tasked with implementing Facebook connect with my Magento 1.4.1.1 website. I have read extensively online and don't find much help with my problem, and I see many people have the same issue so perhaps everyone can learn.
I inserted the SDK script into my header, set up my channel, and my Facebook app. Everything seems to work nicely right now, however I am lost on converting the Facebook login into an actual Magento login. I understand that my code speaks with Facebook and authorizes my website, But I don't understand how to pull user permissions into my Magento database and store the information. Currently you click the "Login with Facebook" button, it pops up asking for the permissions. I don't know how to save this information to my database and allow the user to connect and login successfully.
I think I may need to add some more code somewhere telling Magento how to store this information?
Any advice or links would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用免费扩展Facebook Connect and Like Free 来自 BelVG 公司。
You can use free extension Facebook Connect and Like Free from BelVG company.