I am getting the profile image blank


Hey @Ak07,
Use a different variable other than id as it is a built in function in python you have used.

Still getting the same blank image

Check type of r is it requests.models.Response?

Yes sir, the type® gives requests.models.Response

As Facebook have updated their docs this method is not working anymore without a token. You need to append some kind of “access_token” . You can find further information and how to do it correctly in the Facebook docs. Link for FB Docs.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.