The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Social Media
    4. I'm having a problem implementing facebook sharing

    I'm having a problem implementing facebook sharing

    Social Media
    3 3 779
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MarieHaynes
      MarieHaynes last edited by

      Hi. Hopefully someone can help me out here.  I have created a quiz on one of my sites that hopefully will be good linkbait.  But I'm having some issues with figuring out how to best get users to share this on facebook.

      The quiz consists of two pages.  The first contains each of the questions.  I use jquery to hide and show each question.  Then, the second is the results page.  The results page has a dynamically generated title and shows a sharable badge depicting their results.  So, for one user the results page may say, "I scored 100% on ABC Quiz!" and show a 100% badge.  Another user may see, "Apparently I know nothing about ABC!  I scored 16% on the quiz!".  (Just examples, of course.)

      If I use the facebook share button, the url that gets shared is the results page and obviously I don't want knew users ending up on the results page.  I tried using a rel canonical on the results page (pointing to the original page) but then the dynamic title doesn't get shared.

      Can anyone help?

      1 Reply Last reply Reply Quote 0
      • RyanKent
        RyanKent last edited by

        Have you tried using the Open Graph meta data? It is my understanding the share button pulls information directly from og.

        <meta property="og:url" content="http://www.mysite.com/polls/abc-quiz/" />

        <meta property="og:title" content="I scored 100% of my ABC Quiz" />

        1 Reply Last reply Reply Quote 1
        • evolvingSEO
          evolvingSEO last edited by

          Hi

          Ryan is exactly right about this.  Go to the facebook developers page to create the OG meta data. Specify whatever page you want to show up as shared within the OG meta tag.

          -Dan

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Is there a Bug or other problem with Facebook Page 'invite friends' feature ?
            Dan-Lawrence
            Dan-Lawrence
            0
            14
            16.7k

          • How to implement products in facebook to generate maximum traffic to site and facebook profile page?
            katemorris
            katemorris
            0
            3
            138

          • Is there a way to set up a business Facebook page without linking it to a client's personal page or having to use our own employee's personal page?
            HogWild
            HogWild
            0
            4
            2.7k

          • I'd like some thoughts on content I'm considering producing for my discount drug card business...
            TheSEODR
            TheSEODR
            0
            2
            273

          • Why isn't SEOMoz using Wistia's social sharing feautes?
            TheDude
            TheDude
            0
            6
            1.5k

          • Anyone do SEO for facebook business pages? I'm having trouble with timeline layout.
            jennita
            jennita
            0
            2
            409

          • Shared articles in the SERP's - who sees these shares?
            brycebertola
            brycebertola
            0
            4
            735

          • What's up with the #! in twitter & Facebook URL's?
            seanmccauley
            seanmccauley
            0
            4
            848

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy