iphone - Facebook App Invites iOS SDK v4.0 configuration and states -
i have started implement new facebook's app invites feature. invite sent, friends (or app testers in case) whom sent app invites did not receive notification.
==
update: have tested out feature. there note, see self-accepted answer below.
==
having followed tutorial, don't know if misconfigured or how debug process.
so questions are:
does app invites feature needs actual app store app id configured in app link meta header tag? because, far understand feature, main purpose of recommend friends try out app like. app working on still under development, , see app store id field on app link generator tool
optional
. think when shared development app friends, wouldn't receive messages.in callback of of current
fbsdkappinvitedialogdelegate
delegate methods,appinvitedialog:didcompletewithresults:
, kind ofinvite sent
success result should received when invite sent? because, tested, when invite sentfacebook
's appinvites
dialog, if presssend
, if sending process success, above delegate return boolean value of1
didcomplete
key. not sure ifdidcomplete
invite sent receiver, or meantdidfinished
?
side note related (2.): in recent app invite introduction video @ f8, @ 18:47, there indicator letter "invite sent!" text below. when tested out, didn't see that. (nice) beta feature?
so, after research. recap, in order test app invite on development app, there note:
- first , foremost: first have before implement app invite feature have upgrade project's facebook ios sdk latest version 4.0. more work migrate 3.x 4.x
to send app invites must use version 4.0 or later of facebook sdk ios - see note here
- the best way test testers accounts, has access app in development mode (if don't have, can add test facebook user in roles tab in facebook app dashboard).
- your should test both users on facebook's native mobile app (not simulator/device mobile browser) in order see invite push notification. first, check whether app want send installed on mobile before or not; if not installed, should received push notification (see comment fb developer advocate here).
- last not least: make sure configure both app correctly, the steps minimal , easy follow, make sure there not typo in scheme , invite code.
Comments
Post a Comment