Avatar Size On Facebook

0 votes
Hi,

in Avatar Service, does createAvatarFromFacebook method provide any size parameter? It looks like 50 x 50 avatars are created by this method. Can I change the sizes of them? because I need a bit bigger avatars (e.g. 100 x 100)

thanks,
asked Aug 11, 2014 in App42 Cloud API-BaaS by Tufan (64 points)

1 Answer

+1 vote
 
Best answer

Hi Tufan,

Thanks for writing to us. 

Right now there is no procedure to change the picture size in avatar. We have taken your request and update this feature in our future release.

Let us know if you have more question for us.

answered Aug 12, 2014 by hs00105 (2,005 points)
selected Aug 12, 2014 by Tufan
hi,

that would be great if done, because in my app, people may want to see bigger avatar picture on user details page,

thanks,
Apologies for the delay in response. This feature has already updated on our server. You just need to call the below code snippet before making a call to App42 server for a Facebook Profile:

 
HashMap<String, String> otherMeta = new HashMap<String, String>();
otherMeta.put("setFBImageDimension","200*200");
avatarService.setOtherMetaHeaders(otherMeta);
 
Please check & let us know if it helps.

Thanks,
Himanshu Sharma
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...