Instagram-PHP-API
Instagram-PHP-API copied to clipboard
_makeCall function protected
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?