**** 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

Sign In or Register to comment.