Instagram-PHP-API icon indicating copy to clipboard operation
Instagram-PHP-API copied to clipboard

_makeCall function protected

Open albertleao opened this issue 9 years ago • 0 comments

Hello Florianbeer,

I'm taking a look at your library after you mentioned it. I was wondering if there is any reason why _makeCall has to be private? One of the reasons I was looking at Larabros/Elogram instagram library was because there is a way to make api calls without the syntactic sugar of having a method for each endpoint. Simply adding a public function like

request($method, $endpoint, $params)

and routing it to _makeCall would work. What do you think?

albertleao avatar Jun 17 '16 16:06 albertleao