Custom Facebook iOS request dialog with sdk v3.19 and Graph API v2.1

∥☆過路亽.° 提交于 2019-12-11 20:48:07

问题


I'm trying to figure how a custom invite/request dialog can be created in the new Facebook iOS SDK.

So far I only found the use of FBWebDialogs to create request dialog but it's not customizable AFAIK.

In this sample there is an explanation on how to do that but it doesn't help me because:

  1. It's java script API.
  2. It talks about the invitable_friends API while "The invitable_friends API is only available for games that have a Facebook Canvas app implementation using version 2.0 of the Graph API" which my game Thingies is only available in iOS.

So the questions are:

  1. Can a Requests dialog (FBWebDialogs ) be even used in an iOS game that has no presence on Facebook Canvas?

    Because here it says that an app that does not have a presence on Facebook Canvas may use the Message Dialog on iOS, not the requests dialog, but here it doesn't restrict FBWebDialogs in iOS to games with Canvas (if it does restrict what will happen when you do use the FBWebDialogs after april 2015? an Exception?!?)

  2. How a request dialog be customized in facebook iOS SDK 3? e.g. like in here:

    1. Can you send a request in this dialog to friends that are not playing the game?

    2. After you select them and send the request, will it open a send request dialog for confirmation? e.g. like in here:

Thank you all!

来源:https://stackoverflow.com/questions/26309819/custom-facebook-ios-request-dialog-with-sdk-v3-19-and-graph-api-v2-1

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