CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1
    Join Date
    May 2016
    Posts
    5

    Question Social Media Link Creation...

    So, this is a general HTML questions relating to social media links. I set up a Donkey Kong Fan Site and added some social media links to the top (top right on a desktop, under the menu on mobile).

    I have several questions relating to the social media links that I created ...

    FACEBOOK
    When you click the FACEBOOK icon, a share page shows an image from my parent site www.classicgaming.cc and not an image from www.classicgaming.cc/classics/donkey-kong/
    How do I get the link to show my donkey kong image...
    http://www.classicgaming.cc/classics...ng-735x735.jpg

    TWITTER
    The twitter link works fine, but it doesn't show an image. Is there a way to create a link that shows a specific image that I want (i.e. the image above)?

    GOOGLE+
    This link seems to work fine.

    PINTEREST
    When I click this icon... the pinterest posting shows a broken image. However, when I inspect the code, the link actually points to the correct image? Could this be a result of my htaccess "prevent hot linking" code?

    TUMBLR
    When this icon is clicked, I get taken to tumblr ... but it shows a broken image. When I inspect the page, the link is going to fav_icon.png (which is the favorite icon of my site). How do I get the page to show a different image (i.e. the image I mention above)???

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Social Media Link Creation...

    You should contact the creator of the share plugin since they wrote the code.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    May 2016
    Posts
    5

    Re: Social Media Link Creation...

    Quote Originally Posted by PeejAvery View Post
    You should contact the creator of the share plugin since they wrote the code.
    It's not a share plugin. These are links to the social media sites, using variables in the url. Need help configuring each of the links so they work correctly.

  4. #4
    Join Date
    Jun 2009
    Posts
    113

    Re: Social Media Link Creation...

    Isn't the link for Twitter just:
    https://twitter.com/hashtag/Donkeykong

    According to other people's advice: https://techwalla.com/content/put-facebook Facebook can generate the code you need, otherwise the link would just be https://www.facebook.com/DonkeyKong (which doesn't work so I probably have the profile name wrong).

    Tumblr worked fine for me by the way.

  5. #5
    Join Date
    May 2016
    Posts
    5

    Re: Social Media Link Creation...

    Quote Originally Posted by the_cat View Post
    Isn't the link for Twitter just:
    https://twitter.com/hashtag/Donkeykong

    According to other people's advice: https://techwalla.com/content/put-facebook Facebook can generate the code you need, otherwise the link would just be https://www.facebook.com/DonkeyKong (which doesn't work so I probably have the profile name wrong).

    Tumblr worked fine for me by the way.
    For twitter, I'm not looking to go to a list of posts relating to "donkeykong" (if so, the hashtag solution would work). I'm looking for someone to go to a RETWEET form, and be able to retweet the site they are coming from (they will retweet my website).

    For facebook, I'm also looking for people to be able to SHARE my page. They should be going to a form that allows them to share my site via a status update. Just sending them to a facebook page isn't what I'm looking for (I dont have a Donkey Kong page on Facebook)

  6. #6
    Join Date
    Jun 2009
    Posts
    113

    Re: Social Media Link Creation...

    What you need is a share link generator....
    http://www.sharelinkgenerator.com/

  7. #7
    Join Date
    May 2016
    Posts
    5

    Re: Social Media Link Creation...

    Quote Originally Posted by the_cat View Post
    What you need is a share link generator....
    http://www.sharelinkgenerator.com/
    The generator creates links that have the same problems that I had in my initial post. For example, if I CREATE A FACEBOOK SHARE generator using this URL...
    http://www.classicgaming.cc/classics/frogger/
    ... then the image it "shares" in the status is from http://www.classicgaming.cc and not http://www.classicgaming.cc/classics/frogger/ ... I need the image to be for Frogger, and not the parent site.

  8. #8
    Join Date
    Jun 2009
    Posts
    113

    Re: Social Media Link Creation...

    It sounds like the issue is with Facebook then, and indeed with any other problem links. Is this advice on the Facebook site any help?
    https://www.facebook.com/help/commun...00814000150949

  9. #9
    Join Date
    May 2016
    Posts
    5

    Resolved Re: Social Media Link Creation...

    Quote Originally Posted by the_cat View Post
    It sounds like the issue is with Facebook then, and indeed with any other problem links. Is this advice on the Facebook site any help?
    https://www.facebook.com/help/commun...00814000150949
    Thanks. That post definitely helped... Facebook has a debug tool that is showing a rediect issue for the FACEBOOK problem. And, I think that is causing issues with the other links...
    https://developers.facebook.com/tools/debug/og/object/

    So, if I enter the Donkey Kong link into the debug tool, all of the links work and images show correctly. But, if I enter the Frogger link into the debug tool, it says that information is being redirected to the base url (www.classicgaming.cc) ... and I think all the issues stem from there. Need to check my htaccess...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured