0

I am using abraham's twitteroauth and I want to get

$limits->resources->account->/account/verify_credentials->remaining;

from stdClass Objects and I have this error:

Parse error: syntax error, unexpected '/', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in...

Problem is "/" at "/account/verify_credentials", but I cannot change Twitter API's JSON data.

How can call this data without using objectToArray function?

Mert S. Kaplan
  • 1,045
  • 11
  • 16

0 Answers0