Pass the right photo/video thumbnail to Facebook

I have come up with a solution to this if your wanting to use it.

You will have to edit the database to do this, if your not comfortable with it I can help further.

Examples,

 

 

code to add is.. 

<center>

<!-- AddThis Button BEGIN -->

  <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=300&amp;pubid=xa-**********"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a>

  <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-***********"></script>

  <!-- AddThis Button END -->

</center>

And this is the posted results to Facebook,

And to continue on to the photo sharing results.

add-this-recommend-box-5.png · 1.2M · 1802 views
add-this-recommend-box-6.png · 722.2K · 1760 views
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 14 Feb 2013

Now we're talkin!

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 15 Feb 2013

You do realize there are already social links built into the share button in the action menu right?

This works great and I like the idea that the addthis block is out in the open where people can see it.

NOW, can we get this working on a reasonable level within the forums? It's like I'm beating my head against the wall. Maybe someone needs to build a mod to make it work but I would LOVE it if my members could share posts with photos and videos in them to Facebook and the other sites.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 15 Feb 2013

It works on a frew photos but mostly doesn't work on any of the others.

It's the

SAME ISSUE AS BEFORE

The ################## character.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 15 Feb 2013

 

You do realize there are already social links built into the share button in the action menu right?

 Really, is that what I deleted to get only "addthis" and "pinit" in the recommend box.

You do realize the FB button only is to "like" and not share the content.

I remove google and twitter because it's already in the drop down list.

I'm sorry you don't like this free suggestion, and guess what, I get the same hash tag and it makes do difference.

Case in point, the Nudibranch pic, if shared via gmail, the link show in the email is..

http://webcamyourface.com/m/photos/view/Nudibranch#.UR5MNZNaFSE.gmail

try that link, it works. The reason for the #.UR5MNZNaFSE.gmail is for other reasons I won't go into in this post.

Good luck with what you choose. 

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Feb 2013

Ok very politely. You are wrong sir. Having said that, can I also ask politely that you try compressing your images a bit before posting here? Thanks...

Now, my very poliutely created response (with proper compressed images) to prove my point.

I have the block installed just as you did it. I opted for a few more selections but essentially the same, installed in the DB.

addthisinrecommend

When you click the FB link (or any other) it opens in a popup like it should but as usual, there is no content. Like this:

 

no content

That's been my main issue forever. You cannot permalink in the photo mod so your screwed. If you're in the forum, you can permalink it, which removes the # character, then the content makes it into the box. No photos or videos however, just text.

Now, the comment that the share button that is in the action block is just a like link, that's also incorrect. Also, the action block share does NOT open a popup, but a new page. Like So:

dolphin share

Followed by:

oops

And if you look closely at the URL, you will see the offending # in the URL

URL

So ... Where does that leave us now?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 15 Feb 2013

Just in case. Here's the code I used in the DB

<center><!-- AddThis Button BEGIN -->
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=300&amp;pubid=ra-504d0c835xxxxxxxx"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-504d0c83xxxxxxxx"></script>
<!-- AddThis Button END --></center>

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 15 Feb 2013

Wow, OK.. photos are tiny is size..

 I have a few examples for you to see..

 

 

 

 

 

 

towtalk-2.jpg · 93K · 1588 views
towtalk-1.jpg · 56.8K · 1644 views
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Feb 2013

 

No photos or videos however, just text.

 from your photos too.

towtalk-3.jpg · 96.6K · 1620 views
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Feb 2013

Last example from your videos page..

towtalk-4.jpg · 131.2K · 1610 views
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Feb 2013

what browser are you using?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 15 Feb 2013

 

what browser are you using?

 Chrome, latest..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Feb 2013

Ok, almost. I already posted in another link that some of the images pop, like the one you used above. Did you try the image I selected? It does NOT pop and in fact, because the image fails to 'thumb' the entire content of the share is dumped in favor of the base link.

None of the images pop in the forums so I removed the addthis code. In the forums, you have the ability to permalink a post. Permalinking it causes the # tag to disappear and the text is then posted but the image does NOT make it into the share at all within the forums. I will add it back in so it can be tested as well.

We're getting there. Also, I discovered why the popup wasn't working. The browser was set to open popups in a separate tab. What's funny is the Facebook is the only one that opened in a tab, all the others opened in a popup.

So now, we have some possible browser conflicts determined by the settings and we have some image issues that may have something to do with their size or their extension, not sure which..

Still doesn't work like it should.

Tested in the latest IE as well as Firefox (not beta). Don't use chrome. Got enough Google shit in my life now...

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 15 Feb 2013

Here's a thought. There is already a table in the DB called sys_shared_sites. This is the table that populates the share button with the different share links.

sys shared sites

Wouldn't it be possible to just delete all of these and create one addthis or sharethis entry instead?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 15 Feb 2013

Let me ask this; would there be a difference from being logged in as admin?  Newton would just be a visitor to the site or a regular member of the site?  Is it possible that is where some of the issues are being created?

Geeks, making the world a better place
Quote · 15 Feb 2013

hmm. That's a thought that had not crossed my mind.... Let me test

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 15 Feb 2013

Nope. Makes no difference....

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 15 Feb 2013

I am looking to have addthis.com and an add system like http://todaygood.us/ they have...

 

they installed it they have database for it i think how can i do that?

 

please if you could provide explanation pictures or even video would be perfect with script :) and where to insert it.

Quote · 22 Nov 2013

 

I am looking to have addthis.com and an add system like http://todaygood.us/ they have...

 

they installed it they have database for it i think how can i do that?

 

please if you could provide explanation pictures or even video would be perfect with script :) and where to insert it.

 Sorry, I didn't see this, are you still needing this done?

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 16 Jan 2014

i have added the external sharing buttons right below the rating stars..it is more convenient for the users.

Umar Haroon
Quote · 17 Jan 2014

i know this is old, but this is probably the best thread i have found regarding this. I have tried the suggested change in database and still not getting any image. when I debug it in facebook developers - it says the og tag is missing, but then also displays all of the images from the page. But, when I post the link in a message to another user - at least a random image comes up - not the one selected as the thumbnail, though.

caredesign.net
Quote · 15 Mar 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.