Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My FB feed does only offer 'picture' as mapping source, not 'full_picture' as used in #2453327: Allow import of Full Picture or 'picture_big' as used in #2265551: Make bigger image size available for picture. As mentioned in those issues, the 'picture' only returns a small image.
I have 'object_id' (note that "type": "photo") that could be used to return a big image with 'https://graph.facebook.com/{object_id}/picture?type=normal'. It is however currently not offered as a mapping source.
Comment | File | Size | Author |
---|---|---|---|
#3 | mapping_source_object_id-2557777-2.patch | 1.16 KB | lolandese |
Comments
Comment #2
lolandese CreditAttribution: lolandese commentedAfter applying the patch I created a textfield 'Object ID' (field_object_id)on a content type 'feed item' and mapped to it. In a View then I did a rewrite of the field like:
<img src="https://graph.facebook.com/[field_object_id]/picture?type=normal">
. This results in a list (or slideshow) of all the images posted on a FB page.Obviously this is only an example of how it could be used.
Comment #3
lolandese CreditAttribution: lolandese commentedComment #4
lolandese CreditAttribution: lolandese commented