Facebook iOS SDK - Sending a facebook user an app request

前端 未结 5 1520
野趣味
野趣味 2021-02-10 16:18

Im trying to send an app request through facebook using the facebook iOS SDK, im using the following code:

NSString *message = [[NSString alloc] initWithFormat:@         


        
5条回答
  •  醉梦人生
    2021-02-10 16:24

    It is not possible to send an app request without the dialog, using just POST method.

    According to the docs:

    This SDK provides a method for popping up a Facebook dialog. The currently supported dialogs are the login and permissions dialogs used in the authorization flow, and a dialog for publishing posts to a user's feed.

    So you can't post an app request via standard dialogs either. It works only for web applications.

提交回复
热议问题