-
Notifications
You must be signed in to change notification settings - Fork 7
Display customized data on landing pages
shing00 edited this page Sep 10, 2014
·
1 revision
You are able to set customized data as properties of "data" object on landing pages.
(eg) "data.video_url."
The property names are left to developers.
###How to send the property values from the app
You can send the properties from the app as follows:
####When using ASInvitor
Set the properties to the argument "inviteInfo" as an object of NSDictionary.
(Sample1)
NSDictionary *inviteInfo = @{@"video_url": urlStr,
@"message": msgStr};
[ASInviter inviteVia:ASInviteTypeTwitterDM
inviteInfo:inviteInfo
completion:nil];
(Sample2)
NSDictionary *inviteInfo = @{@"video_url": urlStr,
@"message": msgStr};
[ASInviter inviteFriends:self.pickedFriends
inviteInfo:inviteInfo
onViewController:self
withMessageForm:NO
completion:nil];
####When using ASSharer (In Progress)
Set the properties to the argument "shareInfo" as an object of NSDictionary.
// Not supported in current version.