Unable to get graphic attachments from facebook sessions using FQL or Graph API

I am creating an application where I need to access the folders of people entering and entering it (stickers and images).

From Googling around this seems rather complicated, impossible with the api schedule and not very documented, although I have permission to read_inbox.

What I found out is that I can use FQL to request attachments for a specificc message. Here is my request:

SELECT attachment FROM message WHERE message_id = "730111050341010_3" ORDER BY created_time DESC LIMIT 100 OFFSET 

This does not give me any errors and returns a valid file "attachment-> media" when the attachment is a sticker. Just look at this result:

[{"attachment":{"media":[{"href":"https:\/\/fbcdn-dragon-a.akamaihd.net\/hphotos-ak-prn1\/t39.1997\/851577_246547505491999_862435009_n.png","alt":"","type":"link","src":"https:\/\/fbcdn-dragon-a.akamaihd.net\/hphotos-ak-prn1\/t39.1997\/851577_246547505491999_862435009_n.png"}],"name":"","href":"https:\/\/fbcdn-dragon-a.akamaihd.net\/hphotos-ak-prn1\/t39.1997\/851577_246547505491999_862435009_n.png","caption":"","description":"","properties":[],"icon":"https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yD\/r\/aS8ecmYRys0.gif","tagged_ids":[],"sticker_id":"227878347358915"}}]

but whenever the image is uploaded by the user, it returns this: (no trace of the image [no media array, no href field])

[{"attachment":{"media":[],"name":"","caption":"","description":"","properties":[],"fb_object_type":"","fb_object_id":"","icon":"https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yD\/r\/aS8ecmYRys0.gif","tagged_ids":[]}}]

, Facebook?

Btw. , , "" -array

+3

All Articles