Web api using facebook api

i tried to give get request to http://graph.facbook.com/4/picture?typr=large
but it was noy executed the i trien for an image the also it was not exected
commands used
import requests
url=""
r=requests.get(url)
with open(“sammple.jpg”,‘wb’) as f:
f.write(r.content)
////but nothing happened
please explain

Hi @dipansha.chhabra19,
This is not a valid link,
Please try with some other link that is working in your browser, just paste this link in the address bar, you will see, it’s not responding.

Thanks,

1 Like