Post essay or question results to a facebook page or group

Feb 10, 2016

Hi All,

I need to post from Storyline to a page or group in facebook. Conor Bradley has achieved this on this thread but I wonder does anyone know how to adapt this or find how to post to a group - thanks!

var player = GetPlayer();
var Title= "Check out my score!";
var points= player.GetVar("points");
var URL= "www.google.co.uk";
window.open('https://www.facebook.com/sharer/sharer.php?s=100&p%5Btitle%5D='+Title+'&p%5Burl%5D=http%3A%2F%2F'+URL+'&p%5Bsummary%5D='+points+'&p%5Bimages%5D%5B0%5D=http%3A%2F%2Fwww.urltoyourimage.com', "Post to Facebook", "status = 1, height = 300, width = 300, resizable = 0");

 

I've viewed this thread too by the way.  

1 Reply
Christie Pollick

Hi, Sean -- Many thanks for reaching out with your question! In case you weren't aware, we're not able to assist with Javascript elements, so hopefully someone in the community will be able to assist and offer some specific advice here. In the meantime, I did want to offer the general reminder about Storyline and Javascript best practices. 

This discussion is closed. You can start a new discussion or contact Articulate Support.