Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Allow additional query parameters for media method#101

Merged
vinkla merged 1 commit intovinkla:masterfrom
timacdonald:add_parameters
Feb 15, 2019
Merged

Allow additional query parameters for media method#101
vinkla merged 1 commit intovinkla:masterfrom
timacdonald:add_parameters

Conversation

@timacdonald
Copy link
Contributor

The recent media endpoint (docs) allow for a couple of parameters.

This PR introduces the ability to send these parameters with the request.

// get only 3 of the most recent media...

$instagram->media(['count' => 3]);

@vinkla
Copy link
Owner

vinkla commented Feb 15, 2019

Thanks @timacdonald! ✨

I'll release this when #100 is resolved. In the mean time, you may use ^9.2 branch alias.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants