Skip to content

Default limit of 25 images #31

@timofo

Description

@timofo

By default instagram has a limit of 25 images when you use the API.
You can set the limit in the plugin for the frontend output up to 100, but there are never more than 25 images to display. Because the import is limited by default to 25.

In the instagramRepository.php, you can set f.e. a limit which is defined by TypoScript Constant or Extension Settings.

        $url = 'https://graph.instagram.com/' . $tokenRecord['user_id'] . '/media/'
            . '?fields=media,caption,media_type,media_url,permalink,thumbnail_url,timestamp,username,'
            . 'children&access_token=' . $tokenRecord['token'] . '&limit=100';

With the limit parameter you can import more then 25. Up to 100.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions