Y
Y
YmNIK132016-11-20 16:07:18
Facebook
YmNIK13, 2016-11-20 16:07:18

How to get someone else's profile photo link via FaceBook JS API?

There is a list of links to Facebook accounts, I would like to make a request to them through the API and receive profile photo links.
I sort of figured out how to work with my profile, but if I substitute instead of / me, the user id gets an error

(#803) Cannot query users by their username (valery.stavitsky)

Please tell me how to do this with JS.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2016-11-20
@zoonman

This cannot be done, because This is a violation of Facebook's privacy policy. Simply put, forget about it.
If it really itchs, then implement it through parsing using some browser engine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question