Sharing Link on Facebook

Here is a way to share a link on Facebook:

function setup()
sharelink=“www.cnn.com
link=“http://www.facebook.com/share.php?u=”…sharelink
openURL(link)
end

@austinmccoy that’s quite cool and it’s like my code to post something to twitter. Btw use three “~” your code and three “~”, just so it formats better like below :slight_smile:

function setup() 
    sharelink="www.cnn.com" 
    link="http://www.facebook.com/share.php?u="..sharelink 
    openURL(link) 
end

Thanks for the tip.