Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 03-31-2012, 06:52 AM
Contributing Member
 
Join Date: 01-01-04
Location: Kansas, America!
Posts: 144
iTrader: 0 / 0%
tell twitter how to preview my url?

Whenever I tweet about an item on etsy, it shows this neat preview under the "view photo". I don't even use their tweet button, just cut + paste the url, and it shows up like this:

https://twitter.com/#!/etsycontest/s...70913605832704

But when I post a link to my own website, there's no "view photo" thing on twitter, it's just a boring link.

Anyone know what this uses? Is it some secret deal twitter made with etsy, or just some simple code on their site that tells them how to show a preview? I want to do something like this too, and did a bunch of view sources but couldn't find out the secret.
__________________
spacefem.com
 
Reply With Quote

Advertisement

Advertisement

  #2 (permalink)  
Old 03-31-2012, 11:58 AM
DJDarkViper's Avatar
Junior Member
 
Join Date: 03-28-12
Location: Kelowna, BC, Canada
Posts: 27
iTrader: 0 / 0%
This is just ball-parking it, but...
Yes I'm pretty sure its a specific thing etsy worked out with Twitter (or even vice versa maybe). Same thing goes with -some- photo sharing sites for twitter, but not all.
You just got to work out a deal with Twitter Inc.

Facebook on the other-hand, just works.. cURL based previews of any link posted, now that's the way it should be! hehe
 
Reply With Quote
  #3 (permalink)  
Old 03-31-2012, 03:48 PM
Super Moderator
Latest Blog:
None

 
Join Date: 11-11-11
Location: Copenhagen, Denmark
Posts: 3,597
iTrader: 1 / 100%
Well, it looks like etsy uses this namespace: http://ogp.me/ns#
If you take a look at http://ogp.me/ you will get some more informations.
It looks like it allows a website to add additional meta-tags, forexample meta-tags with urls to images.

So that could be the difference between your website and etsy.
 
Reply With Quote
  #4 (permalink)  
Old 03-31-2012, 08:24 PM
DJDarkViper's Avatar
Junior Member
 
Join Date: 03-28-12
Location: Kelowna, BC, Canada
Posts: 27
iTrader: 0 / 0%
oh cool! I've only sort of heard about this but never really looked into it much
 
Reply With Quote
  #5 (permalink)  
Old 04-04-2012, 08:39 AM
Contributing Member
 
Join Date: 01-01-04
Location: Kansas, America!
Posts: 144
iTrader: 0 / 0%
Welp, I tried it, it didn't work

https://twitter.com/#!/etsycontest/s...49239130324992

The link on that page has all those extra bonus meta tags:
http://etsycontest.com/winners.php?d...light=79561379

Must be a behind-the-scenes deal with etsy. If I crack the answer to this though I will come back to celebrate with you all!
__________________
spacefem.com
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
phpLD 3.3 Preview dvduval Directory Announcements & Promotions 0 01-06-2008 02:09 PM
Preview Images mohammed Coding Forum 4 04-30-2007 05:43 PM
wordpress preview cimmeron Blogging Forum 23 04-19-2006 06:11 PM
MSN Tech Preview toolkit SEO Forum 9 10-08-2004 05:01 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 03:36 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2014 Escalate Media




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.