Mobile app version of vmapp.org
Login or Join
Yeniel560

: How auto load image work when an status is post to social website? When posting a status update on social website like facebook.com and linkedin.com which contain an URL, it will automatically

@Yeniel560

Posted in: #Blogger #Facebook #Linkedin #WebDevelopment #Wordpress

When posting a status update on social website like facebook.com and linkedin.com which contain an URL, it will automatically scan the images available on the particular website and put it at the front of the status update.

May I know how this could be done if I would like to do the same for my web app? Which web framework (JSF, Richfaces, JQuery, ...) should I use in such development? Beside that, is there any pre-build features available in blogger.com or wordpress.com?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Yeniel560

2 Comments

Sorted by latest first Latest Oldest Best

 

@Angie530

For Facebook it is done through Facebook Open Graph Meta Tags. Dave Walsh has done a great blog post on the meta tags. davidwalsh.name/facebook-meta-tags

Its really simple to put into your site. Just add the extra content to your head. I'm sure there are plugins for popular frameworks (WordPress / Joomla) that help with this and make it a bit easier.

If you omit open graph tags, Facebook tries its best to guess the information about your site.

10% popularity Vote Up Vote Down


 

@Si4351233

The closest I could find is this Facebook Like URL data Extract Using jQuery PHP and Ajax www.99points.info/2010/07/facebook-like-extracting-url-data-with-jquery-ajax-php/
This does pretty much what you want, it's based on the older facebook layout. You can style it however you want. Basically jQuery is fetching the image and the status is updating with AJAX.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme