Fix fatal error

If Twitter returns an error then it will be a JSON object and PHP will decode it to an object, not an array. This will cause a fatal error on this line.

Example JSON error returned from Twitter:
{"errors":[{"message":"Rate limit exceeded","code":88}]}