“Could not authenticate you.” -error when using Twitter OAuth

前端 未结 2 1144
猫巷女王i
猫巷女王i 2021-01-23 01:37

I\'m building my first system using Twitters OAuth and have some issues.

First, I\'m using Abraham\'s Twitter-class for this and I have followed this tutorial. However,

2条回答
  •  悲&欢浪女
    2021-01-23 01:55

    I was having the same error, caused by a simple mistake:

    Doesn’t work: $this->twitteroauth->post('statuses/update’, $message);

    Works: $this->twitteroauth->post('statuses/update', array("status" => $message));

提交回复
热议问题