• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Design Customization » Facebook share button (Same post sharing from facebook share button)
Facebook share button
Kickers
Posts: 5
Reputation: 0

Message # 1 | 9:56 AM
I have shared a few post from my website through the "share" Facebook button.

At the first share post to my Facebook page, it is okay. however subsequently when i started sharing a few more news entry post from my website, i realized that my Facebook news feed page have all the same image and text from my first share post, i'm pretty sure i have share the post from different news feed on my website.

Have anyone encountered this problem before?

How to solve it ?

Would appreciate that someone can help me out with this.

Thank you
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 11:45 AM
Kickers, please provide some examples of the shared posts.
I'm not active on the forum anymore. Please contact other forum staff.
Kickers
Posts: 5
Reputation: 0

Message # 3 | 3:52 AM
Hi Sunny,

Thank you for getting back to me.

As you can see in the attached pictures, i have tried to share my website news entry to facebook. however no matter what news entry i tried to share, it will appear like what you see in the pictures (Same image & Same text), in the attached picture you are also able to see the origin image & text news entry post.

After i share the post to facebook, its like what you can see in the attached picture. My facebook news feed page have two similar post shared from my website dated in different dates. Also the image in it had changed as well. these two post i shared on my facebook are different news entry post from my website.

appreciated that you could help me out on it..

On a side note, i have followed the instruction on ucoz video (http://video.ucoz.com/load/system_section/other/adding_the_39_like_39_button_to_a_website/35-1-0-101) on how to insert facebook "like" and "share" button.
Attachments: 2798380.jpg (170.3 Kb) · 8765370.jpg (216.9 Kb) · 7004463.jpg (209.7 Kb) · 0829486.jpg (76.1 Kb)
Sunny
Posts: 9296
Reputation: 456

Message # 4 | 11:50 AM
Kickers, to resolve the issue with the images you need to do the following:

1) You must always use the following meta-tag

Code
<meta property="og:image" content="link_to_image"/>


More about Facebook meta tags: https://developers.facebook.com/docs/sharing/best-practices#tags

2) If the tags or content were updated, use the following tool to update the data for Facebook: https://developers.facebook.com/tools/debug/og/object/

I'm not active on the forum anymore. Please contact other forum staff.
Kickers
Posts: 5
Reputation: 0

Message # 5 | 3:57 PM
Hi Sunny,

Thanks for the information, however I'm new to web developing as such where do i place this meta-tag code ? in ucoz design template? or my website news entry page?

Added (2015-05-15, 3:57 PM)
---------------------------------------------
Hi Sunny,

This is the code thats in my ucoz design template (site news)

Code
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>$TITLE_BAR$ - $SITE_NAME$</title>
<?$META_DESCRIPTION$?>
<?$META_KEYWORDS$?>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
</head>

<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

$ADMIN_BAR$
<div id="contanier">
$GLOBAL_AHEADER$

<!-- <middle> -->
<table border="0" cellpadding="0" cellspacing="0" width="90%" align="center">
<tr>
<td valign="top" class="column">
$GLOBAL_CLEFTER$
</td>
<td valign="top" id="centerTable"><!-- <body> --><a href="$HOME_PAGE_LINK$"><!--<s5176>-->Home<!--</s>--></a> » $DATE_BAR$ » $ENTRY_NAME$
<hr />

<table border="0" width="100%" cellspacing="1" cellpadding="2" class="eBlock">
<tr><td width="100%"><div class="eTitle"><div style="float:right;font-size:9px;">$ADD_TIME$ $MODER_PANEL$</div>$ENTRY_NAME$</div></td></tr>
<tr><td class="eMessage">$MESSAGE$ <?if($ATTACHMENTS$)?><div style="text-align:left;" class="eAttach"><!--<s3172>-->Attachments<!--</s>-->: $ATTACHMENTS$</div><?endif?></td></tr>
<tr><td colspan="2" class="eDetails">
<?if($RATING$)?><div style="float:right"><?$RSTARS$('12','/.s/img/stars/3/12.png','1','float')?></div>
<?endif?><?if($CAT_NAME$)?><span class="e-category"><span class="ed-title"><!--<s3179>-->Category<!--</s>-->:</span> <span class="ed-value"><a href="$CAT_URL$">$CAT_NAME$</a></span></span><span class="ed-sep"> | </span><?endif?>
<span class="e-reads"><span class="ed-title"><!--<s3177>-->Views<!--</s>-->:</span> <span class="ed-value">$READS$</span></span><span class="ed-sep"> | </span>
<span class="e-author"><span class="ed-title"><!--<s3178>-->Added by<!--</s>-->:</span> <span class="ed-value"><a href="$PROFILE_URL$">$USER$</a></span></span>
<?if($TAGS$)?><span class="ed-sep"> | </span><span class="e-tags"><span class="ed-title"><!--<s5308>-->Tags<!--</s>-->:</span> <span class="ed-value">$TAGS$</span></span><?endif?>
<?if($RATING$)?><span class="ed-sep"> | </span><span class="e-rating"><span class="ed-title"><!--<s3119>--><div class="fb-like" data-href="http://www.kickers.ucoz.com" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div><!--</s>-->:</span> <span class="ed-value"><span id="entRating$ID$">$RATING$</span>/<span id="entRated$ID$">$RATED$</span></span></span><?endif?></td></tr>
</table>


(code tag added by bigblog)

I'm not sure where should i put it.. any help ?
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 6 | 3:57 PM
Kickers, before </head>.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
Kickers
Posts: 5
Reputation: 0

Message # 7 | 4:19 PM
BigBlog, so i just paste this <meta property="og:image" content="link_to_image"/> before </head> will do ?
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 8 | 4:48 PM
Kickers, yes.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
Kickers
Posts: 5
Reputation: 0

Message # 9 | 3:15 AM
@bigblog thanks.. i will try it out to see whether it works smile

thanks @bigblog & @sunny for your help. very much appreciated
uCoz Community » For Webmasters » Design Customization » Facebook share button (Same post sharing from facebook share button)
  • Page 1 of 1
  • 1
Search: