we are using Jsoup services to fetch the heading/relevant image and content from hyperlink.
Currently we are unable to get the relevant image. we are only displaying the first image from that hyperlink as follow:
image = [url removed, login to view]("img[src~=(?i)\\.(png|jpe?g|gif)]").first();
but it is not the right image many times as when we type the same hyperlink on facebook or someother social networking site then it show different images.
Also we need 2-3 lines of content from the website.