Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not get the count of the tweets #2

Open
amalhtait opened this issue May 13, 2016 · 0 comments
Open

can not get the count of the tweets #2

amalhtait opened this issue May 13, 2016 · 0 comments

Comments

@amalhtait
Copy link

Hi,

First, thanks for the code, and it works just fine as it is.
But: I am trying to get the count of the tweets by counting the data in the json object:

$data = json_decode(return_json($return), true);
return count($data)

but I keep getting the error:
PHP Notice: Undefined offset: 20 in phpTwitter/tweet2json.php on line 92
with other similar on other lines.

I even tried to insert the output into a file, same error.

Thanks for your help and best regards,
Amal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant