jublo / codebird-php

Easy access to the Twitter REST API, Direct Messages API, Account Activity API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.
https://www.jublo.net/projects/codebird/php
GNU General Public License v3.0
776 stars 234 forks source link

I can not tweet #232

Closed gabrielschuck closed 6 years ago

gabrielschuck commented 6 years ago

I can not post to twitter with codebird. I get the status HTTP 401. What do I do?

lordmatt commented 6 years ago

I'm no expert but 401 is an error meaning "unauthorized". If I were to make an educated guess, you are not logged in or the token has expired.

mynetx commented 6 years ago

@gabrielschuck You can find more information about the HTTP status codes returned by the Twitter API here: https://developer.twitter.com/en/docs/basics/response-codes.