Support » Plugin: Wp-Pro-Quiz » Facebook – Social Sharing

  • Hi

    I need to integrate a social share function to the quiz results page, so that a user would be able to post the results onto their facebook wall?

    I would like some custom text and the percentage/score that they have achieved after taking the quiz?

    Is this possible or can anyone point me in the right direction?

    Cheers – Oaksey

Viewing 4 replies - 1 through 4 (of 4 total)
  • I would also like this functionality

    Hey Lewiscornwell

    I have come up with a quick work-around for the social share for posting your score to Facebook if your interested? Until there is a better work around/fix…

    I turned on the ‘Activate graduation’ in the quiz results text (which shows a different message depending on your score range) and I then inserted a image which says on it ‘share to Facebook’ then on this image I inserted a hyperlink to the Facebook sharer URL which I altered to my own message and website:[url]=http://WWW.YOURWEBSITE.COM/QUIZ/ADDRESS/&p[images][0]=http://WWW.YOURWEBSITE.COM/IMAGES/FACEBOOKSHARE.JPG&p[title]=I+just+scored+between+0%+and+20%+in+the+quiz!+Try+the+quiz+out+for+yourself

    I then repeated the image and link for each of my 5 graduations, 0%-20%, 20%-40%, 40% – 60%, 60% – 80% and 80% – 100%

    Hope this helps a little!

    I would assume you could also adopt the same process for posting to twitter if you find out the twitter share URL…

    It’s pretty straight-forward to alter the results message (if you must edit the source, you’ll find it in lib/view/WpProQuiz_View_FrontQuiz.php) so adding a Facebook share button is not a problem. However, getting hold of the Percentage (or score) variable in order to share *is* more tricky.. Anyone had any experience making the quiz variables accessible?



    I too would like this functionality. Anyone got any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Facebook – Social Sharing’ is closed to new replies.