- Issue created by @PhilY
For my project, I need to fetch the media creation date, AKA the 'timestamp' field.
This can be done in the getUserMedia()
function in src/InstagramBasicDisplayApi.php
file as:
$fields = !empty($fields) ? $fields : [
'id', 'caption', 'media_url', 'media_type', 'thumbnail_url',
'permalink', 'timestamp',
];
Patch is attached.
For informations, other fields seem to be available from the API (not tested):
Will try to find time to open a MR
Needs review
1.0
Code