Added support for subscriptions to the real-time API
I've added support for the real-time subscriptions API. I've also added two files to show how it works. Pretty straight forward.
Great work !
I had to modify the _makeCall function to make the delete subscription methods works.
Line 508 of your file
$apiCall = self::API_URL . $function . $authMethod . (('GET' === $method || 'DELETE' === $method) ? $paramString : null);
It seems that the parameters have to be send through the query string when the DELETE method is used.
+1! but the coding standards are somehow … different then the original version ;) indendation seems a little bit broken.
Any reason why this was never merged or updated?
This repo seems to be stale. I've made a fork and updated it with some new changes in Instagram's API: https://github.com/florianbeer/Instagram-PHP-API
@florianbeer could you please provide a PR? 😄 I am sure @cosenary and others would appreciate it.
It's been here since Mar 8 https://github.com/cosenary/Instagram-PHP-API/pull/204
oh snap! I thought that fork was a recent thing you were referring to! Thanks @florianbeer
@cosenary can we get close this in favor of #204 ?