gauravjhaindia / restfb

Automatically exported from code.google.com/p/restfb
0 stars 0 forks source link

Please add picture field to User class. #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. com.restfb.types.User has not picture field but the User of Graph API has it 
now.

What is the expected output? What do you see instead?
I want to use com.restfb.types.User.getPicture() but can not find it.

What version of the product are you using? On what operating system?
RestFB 1.6.9 , Windows 7

Please provide any additional information below.
http://developers.facebook.com/docs/reference/api/user/

Original issue reported on code.google.com by yuxiao...@gmail.com on 21 Jun 2012 at 5:44

Attachments:

GoogleCodeExporter commented 9 years ago
Hi there!  You can manually construct an image URL like this, you don't need 
RestFB:

http://graph.facebook.com/USER_ID/picture

Per the Graph API docs, "use ?type=square | small | normal | large to request a 
different photo"

Original comment by m...@xmog.com on 12 Jul 2012 at 2:11