Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
Share button opening default Facebook/Twitter app with pre-defined text.
I've been looking for a way to open implement sharing with friends function, but have problems finding a right tutorial. I really like the approach written in this awesome post about getting reviews Taking control of your reviews -, but while the concept is written there, the know how is not.
Basically I think about making a share Facebook and twitter button that would open the Facebook/twitter app with predefined text (check out this game [url link]) already entered. Player would only have to do two simple clicks to spread the love, and many games do have such a functionality in it.
The app is running on unity engine.
So do you guys know any way to implement such a function? Thank you in advance!
For twitter you can use a TWTweetComposeViewController. You should be able to find several tutorials online for that.
For facebook, you can use the facebook SDK. Here's facebook's tutorial on the subject.
iOS 6 will have facebook integration as well, so for iOS6+ it should be as easy to integrate facebook as it currently is twitter. The apple developer forums are where you will need to discuss iOS 6 though while it is still under NDA.
Sharekit is also a popular solution, incorporating sharing on several social networks. It should be pretty easy to implement, although I've never used it myself.
Replies
For facebook, you can use the facebook SDK. Here's facebook's tutorial on the subject.
iOS 6 will have facebook integration as well, so for iOS6+ it should be as easy to integrate facebook as it currently is twitter. The apple developer forums are where you will need to discuss iOS 6 though while it is still under NDA.
Sharekit is also a popular solution, incorporating sharing on several social networks. It should be pretty easy to implement, although I've never used it myself.
Some of my code can be found on GitHub.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome