I am trying to add a Facebook invite friends feature as in the sample
http://docs.sdkbox.com/en/plugins/facebook/v3-cpp/
void HelloWorld::onInviteFriends(cocos2d::Ref* sender )
{
PluginFacebook::inviteFriends(“https://fb.me/322164761287181”,
“http://www.cocos2d-x.org/attachments/802/cocos2dx_landscape.png”);
}
The first parameter is an URL named App Link URL, that can be either
- hosted by Facebook, following instructions from
https://developers.facebook.com/quickstarts/?platform=app-links-host
- hosted by us on a site following this format
https://developers.facebook.com/docs/app-invites/android?locale=it_IT#app_links
I tried 1),
and entered for this part
URL with custom scheme
A url with a custom scheme that will open your app. For more information, see the iOS developer documentation. This is a required field if you have an iOS app.
the string
“wordbuild://open”
and using the generated link in the form of
“https://fb.me/322164761287181”
for first parameter of the function
The Facebook invitation goes out with success, but my friends do not actually receive any invitation
Regarding 2)
Can anyone post any pointers of how to define this item, “al:ios:url”
an example
meta property=“al:ios:url” content=“couchinapp://invite_from_fb?referral=123456789”