I just can't figure it out, i am using Facebook graph API to fetch data, lets say i have a multiple Facebook objects and i want their picture in type=large... I saw some posts like this one ¿Cómo enmascaro las URL de la API de gráficos de Facebook para las imágenes? That suggesting to do the following: /?ids=OBJECT_IDS&fields=picture&type=large The thing is that it seems the once the picture is specified as a field like the above the type URL parameter doesn't seem to effect the retrieved picture.
If there is a way to fetch large type pictures of multiple Facebook objects in one request via the graph API please let me know...
preguntado el 24 de agosto de 12 a las 07:08
All you really need is the object's id.
- If its a user then his/her
- If its a page then the
- etc ...
Once you have that you can simply use this URL to get the large image -
You don't really have to request the large image as you can place this URL directly as a link to the image. In HTML for example -
<img src="https://graph.facebook.com/4/picture?type=large" />
The problem with obtaining todos the large images of different types of object is that they are all located at different endpoints. You would be able to get multiple pictures for the el mismo tipo of object. For example -
select pic_big from user where uid in(4,5,6)
select pic_big from page where page_id in(1,2,3)
select pic_big from event where eid in(1,2,3)
select pic_big from group where gid in(1,2,3)