This is what currently happening on my website. I dont have any Image as Logo in Header in Master Page. Instead there is another image at the right side of Header for Free Demo. When anybody likes any page on my website then That Free Demo image is showing
on their facebook profile every time.
Is there any way to set a custom image for that ?
I have a like button on my Content page its code is:
I dont think you can change that....but i think you can use some CSS tricks to overlay some image on top of it and make click programmatically in javascript....
rajesh sahar...
Member
225 Points
553 Posts
is there anyway to set an image for Facebook Like?
Apr 20, 2012 12:39 PM|LINK
Hi,
This is what currently happening on my website. I dont have any Image as Logo in Header in Master Page. Instead there is another image at the right side of Header for Free Demo. When anybody likes any page on my website then That Free Demo image is showing on their facebook profile every time.
Is there any way to set a custom image for that ?
I have a like button on my Content page its code is:
<div class="fb-like" data-width="450" data-show-faces="false"></div>
In Master Page i have:
<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/all.js#xfbml=1&appId=myappid";
fjs.parentNode.insertBefore(js, fjs);
} (document, 'script', 'facebook-jssdk'));</script>
ramiramilu
All-Star
95493 Points
14106 Posts
Re: is there anyway to set an image for Facebook Like?
Apr 20, 2012 02:18 PM|LINK
I dont think you can change that....but i think you can use some CSS tricks to overlay some image on top of it and make click programmatically in javascript....
Thanks,
JumpStart
rajesh sahar...
Member
225 Points
553 Posts
Re: is there anyway to set an image for Facebook Like?
Apr 21, 2012 04:24 AM|LINK
Thanks,
Can you give some javascript code regarding that or css.
I will be very grateful to you
ramiramilu
All-Star
95493 Points
14106 Posts
Re: is there anyway to set an image for Facebook Like?
Apr 21, 2012 07:56 AM|LINK
something like this - http://web.enavu.com/tutorials/making-image-overlay-caption-using-css/
that might not fit in your requirement, but can be helpful for you to get some ideas...
Thanks,
JumpStart
Allen Li - M...
Star
10411 Points
1196 Posts
Re: is there anyway to set an image for Facebook Like?
Apr 24, 2012 02:18 AM|LINK
Hi, please check whether this Facebook plugin is what are looking for:
http://developers.facebook.com/docs/reference/plugins/like/
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
rajesh sahar...
Member
225 Points
553 Posts
Re: is there anyway to set an image for Facebook Like?
Apr 25, 2012 12:06 PM|LINK
Hi Allen
Why are you posting this link . Have you not read my question
FightAsABull
Contributor
2228 Points
424 Posts
Re: is there anyway to set an image for Facebook Like?
Apr 26, 2012 09:55 AM|LINK
Hi, please check this:
http://bobbelderbos.com/2011/03/facebook-like-button-right-image/
http://www.convertsocial.com/facebook-like-button-generator/#examples
FightAsABull
Contributor
2228 Points
424 Posts
Re: is there anyway to set an image for Facebook Like?
Apr 27, 2012 07:54 AM|LINK
Hi, are the above examples what you want?
rajesh sahar...
Member
225 Points
553 Posts
Re: is there anyway to set an image for Facebook Like?
Apr 28, 2012 12:53 PM|LINK
Hi,
This work for some time, when i like some page in my site it shows the correct image which i have set in the meta tag.
But after sometime another user likes the same page and and it shows the old header image on his profile.
What coud be the reason? is it not Permanent?
Thanks
FightAsABull
Contributor
2228 Points
424 Posts
Re: is there anyway to set an image for Facebook Like?
May 02, 2012 09:26 AM|LINK
Please submit this to Facebook