How to share uploaded image to Facebook via a share link on the Thank-You page

  • b2dmarketing
    Asked on January 22, 2016 at 11:52 PM

    In addition, at the end of the form, I would like there to be a link that says "Share This" and when a user clicks share this, it creates a facebook post using the image they uploaded. How I would do this is as follows. I have used this code generator that generates a long url and when you go to that url it populates the facebook share form with the info you entered.

    Here is the website

    http://donordigital.com/services/socialshare/

    For the image url, I entered this.

    https://www.jotform.us/uploads/b2dmarketing/60216175609151/{id}/{takeSelfie}

    however, it that url does not seem to be generating a image, instead it defaults to the website share image

  • Mike_G JotForm Support
    Replied on January 23, 2016 at 1:06 AM

    I have used the website(http://donordigital.com/services/socialshare/) you have provided and was able to produce a link for the image I have uploaded in my example on the original thread. 

    https://www.facebook.com/dialog/feed?app_id=694165360698061&link=http%3A%2F%2Fwww.insert-url-to-share-here.com&picture=https%3A%2F%2Fwww.jotformpro.com%2Fuploads%2FMike_G%2F60218344839964%2F329332644142241478%2F1.jpg&name=This%20is%20a%20Sample%20Title&caption=%20&description=This%20is%20a%20Facebook%20description.&redirect_uri=http%3A%2F%2Fwww.facebook.com%2F

    You'll just have to change the value for picture to https://www.jotform.us/uploads/b2dmarketing/60216175609151/{id}/{FILENAME:takeSelfie}

    after you have generated the link from that website.

    You can change the link generated from the website to this instead:

    https://www.facebook.com/dialog/feed?app_id=694165360698061&link=http%3A%2F%2Fwww.insert-url-to-share-here.com&picture=https://www.jotform.us/uploads/b2dmarketing/60216175609151/{id}/{FILENAME:takeSelfie}&name=My%20Selfie&caption=%20&description=This%20is%20a%20Selfie%20uploaded%20via%20Jotform.&redirect_uri=http%3A%2F%2Fwww.facebook.com%2F

    You can also, change the value of name, caption and description.

    You can also have the caption added from your form. Then just add {caption} to the value of caption in the link.

    Please check this Demo Form and make a submission. On the Thank-You page, click the link: "Share Selfie to Facebook.

    Here's the Demo Form: https://form.jotform.com/60218344839964

    I hope this helps. Let us know if you need any further assistance. 

    Thank you.

  • b2dmarketing
    Replied on January 25, 2016 at 12:57 PM

    Thank you so much! Exactly what I needed! I am running a major campaign so we will be upgrading to the $99 monthly plan here in the next few days. 

     

     

     

  • Mike_G JotForm Support
    Replied on January 25, 2016 at 2:03 PM

    You're most welcome and I'm glad to be of help. We will be delighted if you will be part of our admired paid subscribers. Always feel free to contact us anytime you have questions or concerns regarding your forms and/or your account.