Facebook Open Graph - Query image by username no longer available
CommentsUntil yesterday you were able to query Facebook Open Graph to get an user’s image by username. Starting today it’s no longer available, but you can still query it by ID.
Doesn’t work anymore
https://graph.facebook.com/marco.pracucci/picture
Does work
https://graph.facebook.com/1376887081/picture
Tip: how to get the biggest image available
Bonus: if you’re wondering how to fetch to biggest image available, you can simply add width
and height
parameters. Facebook will return the biggest image available, honoring input max width and height.
https://graph.facebook.com/1376887081/picture?width=2000&height=2000
You may also be interested in ...
Upcoming conferences
I will join the following conferences. Reach me out on Twitter if you
wanna meet:
Incontro DevOps 2020 | Virtual | 22 October 2020 |
---|