我使用facebook4j加載回家的帖子facebook.getHome()
和我得到的資料圖片和帖子相關圖片如下:facebook4j從我的Facebook的職位檢索不同的圖像大小
facebook4j.User fromUser = facebook.getUser(fbHomePost.getFrom().getId(),
new Reading().fields("picture"));
if (fromUser.getPicture() != null)
facebookUserPostDto.setProfileImage(fromUser.getPicture().getURL().toURI().toString());
if (fbHomePost.getPicture() != null)
facebookUserPostDto.setImageLocation(fbHomePost.getPicture().toURI().toString());
一切工作正常,但圖像我從網址很小,分辨率低。任何想法如何使用facebook4j API從Facebook獲得「大」圖像? Facebook能夠提供不同的圖像大小API Reference › Graph API › Pictures
感謝
沒有人使用過facebook4j嗎? –
我已經整合了facebook4j,但我得到重複的提要。你可以幫我這個:http://stackoverflow.com/questions/16293540/facebook-feed-integration-with-android-app-feeds-getting-duplicated? – YuDroid