**** Bug, Hack or Illegal Action? it involves Twitter ****

dumbstudiosdumbstudios Member Posts: 23
edited May 2012 in Working with GS (Mac)
My idea since the beginning was to have a user finish a level and be able to tweet a screenshot of the final results. The tweet sheet does not allow to upload images, but I did find out a way to do so. It involves using the OPEN URL behavior. This is how it works:

I create an actor and assign the OPEN URL behavior and send to a page uploaded to my website.
This page contains 1 big image that says click here to be able to tweet your results.
I first assigned a link for when you click the image, but then replaced the actual link for this:
twitter://post?message=hello%20world

Result:
Your app will close and iPhone will switch to the native twitter app, open a new tweet with "hello world" already written on it and the option to add a picture too.

Has anybody ever tried this? What are the chances that apple might not like what I did here? In the end I'm not running any weird script or code, I'm just invoking the tweeter app already installed on your phone.

Thanks

Best Answer

  • tenrdrmertenrdrmer Posts: 9,934
    Accepted Answer
    Yeah I have done that for text only before twitter was integrated, but in your case they would still have to care enough to take a screen shot then remember to upload it before hitting post to twitter.

    My personal opinion is making something like that is just going to make you look like a shitty developer who doesn't know what they are doing. even though in reality your SDK just cannot do that part of what you want. Would be best to just use the built in twitter and just post the score or what ever it is.

Answers

  • dumbstudiosdumbstudios Member Posts: 23
    edited May 2012
    @tenrdrmer
    yeah true, it just blows not having the picture uploading option because there are just too many scores to fit on a small tweet + a personal message :(
    Thanks
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Are all of the scores really nessacary. The purpose of the tweet is more to get people tweeting about your game. We says its for the players but in reality its a marketing tool. So as long as theres something to tweet about its good. And if you break up the scores into multiple tweets you could get more out of the twitter function by having your links posted more than once.
  • dumbstudiosdumbstudios Member Posts: 23
    edited May 2012
    I'll keep thinking on an alternative then, thanks
  • dumbstudiosdumbstudios Member Posts: 23
    @tenrdrmer, since you mention that u once used this same OPEN URL behavior, did apple every say anything about it?
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    @ds
    No, they don't mind, it just looks crapply done that's all
  • dumbstudiosdumbstudios Member Posts: 23
    Thanks Leonard, duly noted
Sign In or Register to comment.