<p>@crawf was right with his answer, but I recently saw the preview release for Craft 3, so Placid 2 is going to wait and be written for that.</p>

<p>So I thought I should fix the current version of Placid to work with the latest version of OAuth (currently <code>0.9.71</code>) and as a brucie bonus you can now connect to more than just the twitter api :)</p>

<p><a href="https://github.com/alecritson/Placid" rel="nofollow">You can get the latest version (<code>1.3.0</code>) on github</a> and any issues just give us a shout on the repo (or here, whichever you feel most relevant)</p>

CC BY-SA 3.0
2015-05-29T11:50:12.103Z
2015-05-29T11:50:12.103Z
Alec Ritson
<p>Are you using the 0.9.60 version of OAuth? There are some issues with Placid and the latest OAuth version, which will be fixed in Placid 2.</p>

CC BY-SA 3.0
2015-05-07T08:59:54.867Z
Is there a release date on that update? Stuck with the same problem here.
tom
CC BY-SA 3.0
2015-05-07T12:07:05.313Z
No, I'm sure Alec is working on it. I can confirm that Placid 1.2.5 works with OAuth 0.9.60. Just download the older OAuth plugin from [Dukt](https://github.com/dukt/craft-oauth/releases/tag/0.9.60) and use that for now. Works great!
crawf
CC BY-SA 3.0
2015-05-29T11:55:00.947Z
The latest version has been pushed to github, which should see this error fixed, see my answer above
Alec Ritson
CC BY-SA 3.0
2015-05-06T22:10:07.990Z
2015-05-06T22:10:07.990Z
crawf
<p>Trying to get Placid working but I can't get Twitter to Connect. The keys are all set correctly, but when I click 'Connect', I get this error: </p>

<pre><code>Craft\OauthService and its behaviors do not have a method or closure named "encodeToken".
</code></pre>

<p>On line 266 of /home/rizen/sites/rizencreative.com/craft/app/framework/base/CComponent.php(266)</p>

<pre><code>throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".',
    array('{class}'=&gt;get_class($this), '{name}'=&gt;$name)));
</code></pre>

<plugin-duktoauth>
Twitter, Dukt OAuth, and Placid error
# Twitter, Dukt OAuth, and Placid error

(Asked by: username_0 on 2015-05-06)

Trying to get Placid working but I can't get Twitter to Connect. The keys are all set correctly, but when I click 'Connect', I get this error: 
Craft\OauthService and its behaviors do not have a method or closure named "encodeToken".

On line 266 of /home/rizen/sites/rizencreative.com/craft/app/framework/base/CComponent.php(266)
throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".',
    array('{class}'=>get_class($this), '{name}'=>$name)));

**Tags:** plugin-duktoauth

---

## 2 answers

### Answer by username_1 on 2015-05-29. Score: 3

@crawf was right with his answer, but I recently saw the preview release for Craft 3, so Placid 2 is going to wait and be written for that.

So I thought I should fix the current version of Placid to work with the latest version of OAuth (currently `0.9.71`) and as a brucie bonus you can now connect to more than just the twitter api :)

[You can get the latest version (`1.3.0`) on github](https://github.com/alecritson/Placid) and any issues just give us a shout on the repo (or here, whichever you feel most relevant)


---

### Answer by username_2 on 2015-05-06. Score: 2

Are you using the 0.9.60 version of OAuth? There are some issues with Placid and the latest OAuth version, which will be fixed in Placid 2.

> **Comments:**
> **username_3**: Is there a release date on that update? Stuck with the same problem here.  
> **username_2**: No, I'm sure Alec is working on it. I can confirm that Placid 1.2.5 works with OAuth 0.9.60. Just download the older OAuth plugin from [Dukt](https://github.com/dukt/craft-oauth/releases/tag/0.9.60) and use that for now. Works great!  
> **username_1**: The latest version has been pushed to github, which should see this error fixed, see my answer above  

---

