Reputation: 1271
I want to allow to user to send invitation for their Facebook and Google+ friends.
For the moment I have two solutions
What is the best manner to do this ? Does anyone have a solution better than the two above solutions ?
Upvotes: 0
Views: 1730
Reputation: 6841
You should look into the Google+ interactive posts with the "INVITE" call-to-action label.
Upvotes: 1
Reputation: 12842
In order to accomplish what you want to do, use the Graph API. It's pretty simple, just reference the Publish section at this URL http://developers.facebook.com/docs/reference/api/
You'll need some prework in your app to allow your users to authenticate and to authorize your app to post on behalf of them. It's straightforward though.
If you're looking for a more cutting edge way to spread your app on Facebook, "Social App Discovery" is the most up to date way to do this. You'll be able to have links appear right on walls that take users either to your app if they have it installed, or to the app store to download it (all handled by Facebook). Read about it here https://developers.facebook.com/blog/post/2012/02/21/improving-app-distribution-on-ios/
Upvotes: 1