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

Codeing is according to java Should be in PHP

Open vishnudutttest opened this issue 12 years ago • 5 comments

I just saw an issue with the library. That there problem to create objects of classes because the code is here are like java. And I am unable to use your library. error are showing like this

Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/mytestse/public_html/instagram/Instagram/Auth.php on line 52

Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/mytestse/public_html/instagram/Instagram/Auth.php on line 52

Parse error: syntax error, unexpected T_STRING, expecting '&' or T_VARIABLE in /home/mytestse/public_html/instagram/Instagram/Auth.php on line 52

Thanks Vishnu Dutt

vishnudutttest avatar Jun 05 '13 12:06 vishnudutttest

what version of php are you running?

On Wednesday, June 5, 2013, vishnudutttest wrote:

I just saw an issue with the library. That there problem to create objects of classes because the code is here are like java. And I am unable to use your library. error are showing like this

Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/mytestse/public_html/instagram/Instagram/Auth.php on line 52

Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/mytestse/public_html/instagram/Instagram/Auth.php on line 52

Parse error: syntax error, unexpected T_STRING, expecting '&' or T_VARIABLE in /home/mytestse/public_html/instagram/Instagram/Auth.php on line 52

Thanks Vishnu Dutt

— Reply to this email directly or view it on GitHubhttps://github.com/galen/PHP-Instagram-API/issues/19 .

galen avatar Jun 05 '13 12:06 galen

I am using 5.2.17 PHP

vishnudutttest avatar Jun 05 '13 12:06 vishnudutttest

You need php 5.3. It says it at the top of the readme.

On Wednesday, June 5, 2013, vishnudutttest wrote:

I am usering 5.2.17 PHP

— Reply to this email directly or view it on GitHubhttps://github.com/galen/PHP-Instagram-API/issues/19#issuecomment-18972513 .

galen avatar Jun 05 '13 12:06 galen

OK , and thanks for your quick response. and sorry May be your code is working fine.

Thanks Vishnu Dutt

vishnudutttest avatar Jun 05 '13 12:06 vishnudutttest

If you still need it, my fork is working on PHP 5.2 (I removed all namespaces)

mistic100 avatar Jul 19 '13 16:07 mistic100