You can make a simple HttpRequest for the url and then filter the HTML code to get the required content.
Sample code for HttpRequest -
HttpClient httpclient = new DefaultHttpClient(); // Create HTTP Client
HttpGet httpget = new HttpGet("http://example.com"); // Set the action you want to do
HttpResponse response = httpclient.execute(httpget);
HttpEntity entity = response.getEntity();
InputStream is = entity.getContent();
String line = null;
while ((line = reader.readLine()) != null)
{ sb.append(line + "\n"); }
String resString = sb.toString();
is.close();
Facebook,Google+ use meta tags for the short info that is shared with the image.
For the image look for the first <img>
tag and then strip of the src="" from it to get the url. Then perform a AsyncDownload from the given image url to produce a drawable -
try
{
InputStream is = (InputStream) new URL(src).getContent();
Drawable d = Drawable.createFromStream(is, "src name");
return d;
}catch (Exception e) {
return null;
}