: 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
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?
More posts by @Yeniel560
2 Comments
Sorted by latest first Latest Oldest Best
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.
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.