I'm looking to allow users of my iPhone app to click a share button, which will then set up a post on Twitter/Instagram etc with an image of their highscore and some text with hashtag. I've seen a VERY old extension called mergSocial, but I'm not sure whether this will still work.
Has anyone sorted this out on their livecode app more recently?
Cheers!
Posting on Instagram/Twitter via iOS app
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Posting on Instagram/Twitter via iOS app
It seems mergSocial might not function anymore, but mergPop may be used for this purpose. I'll report back once I've given this a go with any success I've had.
Re: Posting on Instagram/Twitter via iOS app
Should be possible to do this with the APIs each service provides?
Re: Posting on Instagram/Twitter via iOS app
That would be possible I believe, and it may even be possible with a free basic API access.
However, I managed to do a very basic version of this with mergPop, where the screenshot becomes ready for the user to send to any of their social media or save in their files. I use the following code which works for iOS and I believe any other platform (without the spaces after 'screenshot'):
on mouseup
put specialfolderpath("documents") & "/" & "screenshot .png" into myFile
if there is a file myFile then delete file myFile
set the filetype to "????PNGf"
export snapshot from rect (the rect of this stack) to file myFile as PNG
mergPopActivity ,,("file:" & specialfolderpath("documents") & "/screenshot .png")
end mouseup