> For the complete documentation index, see [llms.txt](https://disyaoqing66.gitbook.io/acc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://disyaoqing66.gitbook.io/acc/twitter-zhang-hao-xiang-guan/1-twitter-token-deng-lu.md).

# 1 Twitter Token登录

{% hint style="danger" %}

### <mark style="background-color:red;">**注意Token会随着Twitter账号密码改变而改变，使用账号密码登录后Token也会改变，使用Token登录并将账号手动进行登出也会导致Token改变**</mark>

{% endhint %}

{% hint style="danger" %}

### <mark style="background-color:red;">**如果使用Token登录不成功，需要使用账号密码进行登录，需获取Token可查看**</mark>

[**2 Twitter Token获取**](/acc/twitter-zhang-hao-xiang-guan/2-twitter-token-huo-qu.md)
{% endhint %}

## [<mark style="background-color:green;">**Token登录视频教程（点击跳转）**</mark>](https://youtu.be/UtUmTFT-KXI)

### **账号格式说明：**

{% tabs %}
{% tab title="双验账号" %}

* 推特用户名----推特密码----手机号----邮箱----邮箱密码----注册日期----<mark style="background-color:red;">**Token**</mark>
* @123456----123456----86 12345678912----123456\@1234.com----123456----2055/05/05----<mark style="background-color:red;">**170123e6e9456a021611a6cfca12347bf1c789e9**</mark>
* <mark style="background-color:red;">**那么这个账号的Token为：170123e6e9456a021611a6cfca12347bf1c789e9**</mark>
  {% endtab %}

{% tab title="手机验证账号" %}

* 推特用户名----推特密码----手机号----注册日期----<mark style="background-color:red;">**Token**</mark>
* @123456----123456----86 12345678912----2055/05/05----<mark style="background-color:red;">**170123e6e9456a021611a6cfca12347bf1c789e9**</mark>
* <mark style="background-color:red;">**那么这个账号的Token为：170123e6e9456a021611a6cfca12347bf1c789e9**</mark>
  {% endtab %}

{% tab title="邮箱验证账号" %}

* 推特用户名----推特密码----邮箱----邮箱密码----注册日期----<mark style="background-color:red;">**Token**</mark>
* @123456----123456----123456\@1234.com----123456----2055/05/05----<mark style="background-color:red;">**170123e6e9456a021611a6cfca12347bf1c789e9**</mark>
* <mark style="background-color:red;">**那么这个账号的Token为：170123e6e9456a021611a6cfca12347bf1c789e9**</mark>
  {% endtab %}
  {% endtabs %}

### 使用**Token登录的两种插件：**

{% hint style="info" %}
**两种插件的差异：**

**第一种插件EditThisCookie：基本比较稳定。**

**第二种插件Cookie-Editor：在登录页面（**[**https://twitter.com/i/flow/login**](< https://twitter.com/i/flow/login>)**）可能会导致登录失败！**
{% endhint %}

{% tabs %}
{% tab title="插件：EditThisCookie" %}

### <mark style="background-color:blue;">**第一种方式：**</mark> **扩展程序(EditThisCookie）登录，Chrome浏览器扩展程序下载地址**[**https://chrome.google.com/webstore/detail/editthis**](https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg)

### [**cookie/fngmhnnpilhplaeedifhccceomclgfbg**](https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg)

### <mark style="background-color:purple;">**步骤一：**</mark> **下载，安装扩展程序**

<figure><img src="/files/FJ8LO6k6nCmKa6tvZgcd" alt=""><figcaption><p>安装插件</p></figcaption></figure>

### <mark style="background-color:purple;">**步骤二：**</mark><mark style="background-color:red;">**打开Twitter以下页面的其中一个：两个页面操作一致，本教程使用主页进行演示（其他页面使用请自行测试！）**</mark>

### <mark style="background-color:red;">**Twitter主页**</mark>  [<mark style="background-color:red;">**https://twitter.com**</mark>](https://twitter.com/)

### <mark style="background-color:red;">**Twitter登录页面**</mark>  [<mark style="background-color:red;">**https://twitter.com/i/flow/login**</mark>](https://twitter.com/i/flow/login)

### <mark style="background-color:red;">**打开页面，并清空Cookie**</mark>

<div><figure><img src="/files/oTdirvzqQhTeRrMOHnjC" alt=""><figcaption><p>打开网站，并清空Cookie</p></figcaption></figure> <figure><img src="/files/BbeGnfPL1V4uUoTVAOt9" alt=""><figcaption><p>打开网站，并清空Cookie</p></figcaption></figure> <figure><img src="/files/cFjOFuDP8CcLB9ByZqcD" alt=""><figcaption><p>打开网站，并清空Cookie</p></figcaption></figure></div>

### <mark style="background-color:purple;">**步骤三：**</mark><mark style="background-color:red;">**清空Cookie后，点击+号；填写以下信息**</mark>

### <mark style="background-color:red;">**名称：auth\_token**</mark>

### <mark style="background-color:red;">**值：账号对应Token**</mark>

### <mark style="background-color:red;">**域名/路径/过期时间：默认即可**</mark>

### <mark style="background-color:red;">**将session和安全打勾，点击绿色√完成添加**</mark>

<figure><img src="/files/EcQ9rciJVSo2bBo5Ne62" alt=""><figcaption><p>点击+号</p></figcaption></figure>

<figure><img src="/files/vciEykVq7x2EmsbIK4p6" alt=""><figcaption><p>依次输入，并勾选两个，点击绿色完成添加</p></figcaption></figure>

### <mark style="background-color:purple;">**步骤四：**</mark><mark style="background-color:red;">**点击刷新（按F5），刷新网页即可完成使用Token登录Twitter**</mark>

<figure><img src="/files/Fb1TCXfsrEN6tjBPDQhG" alt=""><figcaption><p>刷新页面完成登录</p></figcaption></figure>
{% endtab %}

{% tab title="插件：Cookie-Editor" %}

### <mark style="background-color:blue;">**第一种方式：**</mark> **扩展程序(Cookie-Editor）登录，Chrome浏览器扩展程序下载地址**[**https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm**](https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm)

### <mark style="background-color:purple;">**步骤一：**</mark> **下载，安装扩展程序**

<figure><img src="/files/VrwzNJIHwLJpICMIfbeV" alt=""><figcaption><p>安装插件</p></figcaption></figure>

### <mark style="background-color:purple;">**步骤二：**</mark><mark style="background-color:red;">**打开Twitter以下页面的其中一个：两个页面操作一致，本教程使用登录页面进行演示（其他页面使用请自行测试！）**</mark>

### <mark style="background-color:red;">**Twitter主页**</mark>  [<mark style="background-color:red;">**https://twitter.com**</mark>](https://twitter.com/)

### <mark style="background-color:red;">**Twitter登录页面**</mark>  [<mark style="background-color:red;">**https://twitter.com/i/flow/login**</mark>](https://twitter.com/i/flow/login)

### <mark style="background-color:red;">**打开页面，并清空Cookie**</mark>

<div><figure><img src="/files/y34Khxqf2oiUMQqWZ5aE" alt=""><figcaption><p>打开网站，并清空Cookie</p></figcaption></figure> <figure><img src="/files/hSzgGLGAvltsSAUXOGwR" alt=""><figcaption><p>打开网站，并清空Cookie</p></figcaption></figure> <figure><img src="/files/HBTrEASb2ejbBxNbgiD4" alt=""><figcaption><p>打开网站，并清空Cookie</p></figcaption></figure></div>

### <mark style="background-color:purple;">**步骤三：**</mark><mark style="background-color:red;">**清空Cookie后，点击+号；填写以下信息**</mark>

### <mark style="background-color:red;">**Name：auth\_token**</mark>

### <mark style="background-color:red;">**Value：账号对应Token**</mark>

### <mark style="background-color:red;">**点击保存按钮完成添加**</mark>

<figure><img src="/files/IHC0XyEdIbWg6mSrAUFG" alt=""><figcaption><p>点击+号</p></figcaption></figure>

<figure><img src="/files/J7QIEy3Ujxg34kegNQz1" alt=""><figcaption><p>依次输入，点击保存完成添加</p></figcaption></figure>

### <mark style="background-color:purple;">**步骤四：**</mark><mark style="background-color:red;">**点击刷新（按F5），刷新网页即可完成使用Token登录Twitter**</mark>

<figure><img src="/files/ZDMO4rbhdvxKvrwy9g3Z" alt=""><figcaption><p>刷新页面完成登录</p></figcaption></figure>
{% endtab %}
{% endtabs %}

{% hint style="danger" %}

### <mark style="background-color:red;">**如果没反应，请清空浏览器再次尝试，若还是没反应，那么可能是Token已经失效了，请使用账号密码进行登录（严禁使用手机号登录，不建议使用邮箱号登录）**</mark>

{% endhint %}
