Closed Daltontastic closed 7 years ago
Can I check if it's TRUE or FALSE?
I came up with a messy workaround :)
$data = (array) $reply; if (isset($data["created_at"])) { return true; } else { return false; }
@Daltontastic If Twitter returns an error, you will have an error object in the reply. Maybe check for that? :)
Thanks for the amazing library btw :) I've been using it for over a year.
@Daltontastic You’re welcome! 3.2.0 will be out soon, but we’re looking into the TON API authentication first.
How do I check if $reply = $cb->statuses_update($params); was a success or not?