Facebook Graph high resolution photos

前端 未结 7 1846
耶瑟儿~
耶瑟儿~ 2021-02-15 09:40

I\'m doing a Facebook Graph API call for \"me/home\" to get the user\'s news feed. As everyone knows, the URL you get in the \"picture\" field is a low resolution photo that doe

相关标签:
7条回答
  • 2021-02-15 10:07

    Its a late response but but I have found a better approach

    If you have got a address by using graph api like this

    https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xaf1/t1.0-9/s130x130/10501892_701590943222768_782659935906208443_n.png
    

    then just replace 130x130 to a valid resolution

    https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xaf1/t1.0-9/s480x480/10501892_701590943222768_782659935906208443_n.png
    

    and you will be able to get high resolution image

    Valid image resolution can be found from this example call

    http://graph.facebook.com/701586786556517

    701586786556517 = object_id from Facebook graph API call

    Hope this helps someone.

    0 讨论(0)
提交回复
热议问题