fbwebdialogs

Sending Invitation to Facebook Friends with Facebook SDK from IOS App

一曲冷凌霜 提交于 2020-01-04 11:07:04
问题 Here I am trying to invite Facebook friends from my app. I followed this answer It works fine with webDialog .But when I click on send button it gives exception WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: +[NSInvocation _invocationWithMethodSignature:frame:]: method signature argument cannot be nil I am unable to understand whats wrong with my code. Here is my code which i am using -(void)inviteFriends { if ([

Facebook iOS presentRequestsDialogModallyWithSession to return selected friends

情到浓时终转凉″ 提交于 2019-12-08 19:10:52
问题 I am developing an iOS app and I want to be able to send invitations to my app through facebook, which I managed to do using presentRequestsDialogModallyWithSession But I also want my app to know to whom the invitations were sent.. Is that possible? 回答1: Yes it is absolutely possible. Here is the way to get the list of user's friends to whom the user has sent invitation. In presentRequestsDialogModallyWithSession there must be a handler some thing like this: handler:^(FBWebDialogResult result