appsocially / AppSocially-iOS-SDK

Optimized User Aqusition funnel for iOS
https://appsocial.ly/
64 stars 8 forks source link

[ASInviter inviteFriends] completed with no error but only successfully sent the invites about 50% of time #9

Open modenl opened 10 years ago

modenl commented 10 years ago

Friends are all Facebook friends. Really unreliable. Only 50% of friends can receive the invites... [ASInviter inviteFriends:friends inviteInfo:inviteInfo completion:^(NSError *error) {
if (error) { NSLog(@"Invite error:%@", error.localizedDescription); } }];

shu223 commented 10 years ago

Thanks for your reportings. Please let me know

modenl commented 10 years ago

As mentioned in title, I got no error. error == nil. But about half the time, the receiver won't receive anything. Friends got from FriendsPicker. type = ASFriendTypeFacebook. Sample friend object I got: "<ASFriend: 0xd897d30>" YES count = 2 "id" -> "XXXXXXXX" "name" -> "XXXX XXX" ASFriendTypeFacebook

shu223 commented 10 years ago

Sorry, I overlooked the title. I guess that the invitations were too many. Our bulk invitation are designed for a few multiple invitation less than 10. If too much invitations are sent, unexpected problems may occur on our server-side or the facebook's one. We don't support it, sorry.

modenl commented 10 years ago

Even if u only send to one, it success 50% of the time. Are you using chat API?

On Tuesday, April 29, 2014, shu223 notifications@github.com wrote:

Sorry, I overlooked the title. I guess that the invitations were too many. Our bulk invitation are designed for a few multiple invitation less than

  1. If too much invitations are sent, unexpected problems may occur on our server-side or the facebook's one. We don't support it, sorry.

— Reply to this email directly or view it on GitHubhttps://github.com/appsocially/AppSocially-iOS-SDK/issues/9#issuecomment-41664870 .

Best Regards!

shu223 commented 10 years ago

I tried to send a invitation from my Facebook account for development and it failed. Then I logged-in to Facebook (facebook.com) and passed the security settings. After that, I launched my appsocially sample again and sent a invitation, it succeeded.

Please try to sign-in to facebook.com with your sender account.

modenl commented 10 years ago

What do u mean by pass security settings? I have login in iPhone settings, facebook app, browser, fb messenger. Not a problem there. And I have tried on both iPhone and simulator using two fb accounts. All have same problem. If you try to send invites 10 times, u can see about 5 of them failed...

If u share the source code, I can help to debug.

On Tuesday, April 29, 2014, shu223 notifications@github.com wrote:

I tried to send a invitation from my Facebook account for development and it failed. Then I logged-in to Facebook (facebook.com) and passed the security settings. After that, I launched my appsocially sample again and sent a invitation, it succeeded.

Please try to sign-in to facebook.com with your sender account.

— Reply to this email directly or view it on GitHubhttps://github.com/appsocially/AppSocially-iOS-SDK/issues/9#issuecomment-41667446 .

Best Regards!

shu223 commented 10 years ago

OK, I'm asking to our CEO if we can share our source code.

shu223 commented 10 years ago

Hi modenl, could you send an email to "shu@appsocial.ly"? I'll reply to share our source code.