automatic login to facebook

后端 未结 2 1873
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-21 10:57

I\'m creating a desktop application in C#. one of the things that this application should do is to publish things to the status of the user in facebook (like: \"dave just won 3

2条回答
  •  一个人的身影
    2021-01-21 11:28

    For you question: you need to use the Facebook Connect API

    • there is a Feature called offline_access - its an extended permission.
    • In FB Connect you need to toggle the correct popup :
    • The workflow will be like that:
      • User uses FB Connect to confirm the fact he wants to connect your app to his facebook account.
      • You trigger the popup.
      • You can then call all calls on his permission even if he is offline (or not using facebook connect)

    For the sake of understanding: FB Connect is meant that way that you can easily log the user into his app and do everything on his behalf. offline_access is actually meant for cronjob work.

提交回复
热议问题