No authorization dialog

∥☆過路亽.° 提交于 2020-01-05 08:44:43

问题


How can I make a Facebook app that doesn't require users to log in/authorize my app? Is it even possible for canvas apps?

The conversion in auth dialog is quite poor (39%) for my app, even though I ask for the basic information only. Hence the question.

Thanks for advice!


回答1:


There are no special actions necessary to run a canvas app in Facebook without authentication. Simply set the Canvas URL and Secure Canvas URL in your app's settings (https://developers.facebook.com/apps/<app_id>/summary) and it should just work.

Keep in mind that you cannot access any of the useful functionality Facebook offers if you forego authentication. You'll be missing out on:

  • The Invite Friends dialog
  • Creating notifications
  • Retrieving a user's friend list and information
  • Etc.

In fact, if you're not leveraging any of the available functionality Facebook provides, there's no sense in even creating a canvas app. You might as well enjoy the benefits of using the entire window for your application and host it standalone.




回答2:


It all depends upon what you're doing with your app.

  • If you app uses features that requires login, then yes, you will need to get each user to log in.

  • If your app doesn't use features of the API that require login, then don't use it.

There's many social plugins that can accomplish a lot of what many people look for and most all of them don't require a login.



来源:https://stackoverflow.com/questions/9049335/no-authorization-dialog

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