We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 months ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
此处显示了一些示例应用程序,它们可以执行您所说的许多操作。 Graph API 可能是您目前提供所需内容和访问权限的最佳选择网上有大量关于如何使用它的教程,包括 Facebook 开发者网站本身。
Some sample apps that do many of the things you speak of are shown here. The Graph API is probably your best bet right now for delivering the content and access you need and there are numerous tutorials online for how to use it, including the Facebook Developers site itself.
你会在 ThinkDiff 上找到好的 Tuts,例如
http ://thinkdiff.net/facebook/new-javascript-sdk-oauth-2-0-based-fbconnect-tutorial/
http://thinkdiff.net/facebook/php-sdk-3-0-graph-api-base-facebook-connect -tutorial/
http://thinkdiff.net/facebook/graph-api-iframe-base-facebook-application-development-php-sdk-3-0/
You will find good Tuts on ThinkDiff, e.g.
http://thinkdiff.net/facebook/new-javascript-sdk-oauth-2-0-based-fbconnect-tutorial/
http://thinkdiff.net/facebook/php-sdk-3-0-graph-api-base-facebook-connect-tutorial/
http://thinkdiff.net/facebook/graph-api-iframe-base-facebook-application-development-php-sdk-3-0/
当前的身份验证方法是 OAuth 2.0。
Facebook 在此参考中提供了必要步骤的详细概述:
https:// Developers.facebook.com/docs/authentication/client-side/
此示例允许身份验证完全在客户端的 Javascript 中进行,以便您可以请求潜在用户通过 Facebook 进行身份验证,然后确认对您的访问应用。
如果用户已经登录,则仅执行您的应用程序的访问确认。
如果用户已登录并且已授予访问权限,则用户无需登录或重新确认访问权限。
The current method for authentication is OAuth 2.0.
Facebook provides a pretty good outline of what steps are necessary in this Reference:
https://developers.facebook.com/docs/authentication/client-side/
This example allows the authentication to occur entirely in Javascript on the client side so that you can request a potential user to authenticate via Facebook and then confirm access to your application.
If the user is already logged in, only the access confirmation for your application is performed.
If the user is already logged in and access has already been granted, the user is not required to login, or reconfirm access.