Nik
Nik

Reputation: 33

How to Get profile large image from Android Facebook Graph-API

I want to show the users profile picture in a imageview. When I try to call the graph-api. It will return the image but the size is too much small like an small icon.can anyone help me that how can I get a large image.

Upvotes: 0

Views: 3217

Answers (1)

Sherif elKhatib
Sherif elKhatib

Reputation: 45942

The best you could do is request the large profile picture using

http://graph.facebook.com/OBJECT_ID/picture?type=large

For more info, Check the facebook graph api documentation

You can specify the picture size you want with the type argument, which should be one of square (50x50), small (50 pixels wide, variable height), normal (100 pixels wide, variable height), and large (about 200 pixels wide, variable height)

Upvotes: 8

Related Questions