> For the complete documentation index, see [llms.txt](https://zhang-hao-shang.gitbook.io/zhang-hao-shang-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zhang-hao-shang.gitbook.io/zhang-hao-shang-docs/tui-texzhang-hao-ge-zhong-deng-lu-fang-shi/twitter-de-2fa-shi-yong-shou-ji-he-dian-nao-jun-ke-shi-yong.md).

# twitter的2fa使用（手机和电脑均可使用）

<mark style="color:red;">**登出账号和修改密码都会使得token改变，请勿登出账号，如需退出请清理缓存**</mark>

1.去推特首页正常输入账号密码后，提示输入code

<figure><img src="https://1858037474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmO8AWt7mfxhOvaYFtdzA%2Fuploads%2FpwIl41rYKm728toq1iAq%2Fimage.png?alt=media&amp;token=11b48c99-5b4c-43bf-bfa9-e262fd3c75e7" alt=""><figcaption></figcaption></figure>

2.打开2fa网址 [2fa.zone](https://2fa.zone/)

<figure><img src="https://1858037474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmO8AWt7mfxhOvaYFtdzA%2Fuploads%2FucwnvxRqOXIFUw0K8nVL%2Fimage.png?alt=media&amp;token=bc7927c8-dc49-41c4-bb47-0a268c89c834" alt=""><figcaption></figcaption></figure>

红色框框是2fa，注意分辨2fa和token的位数区别

<figure><img src="https://1858037474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmO8AWt7mfxhOvaYFtdzA%2Fuploads%2FiFQJ5UKo5KBR7OJrfe3Z%2Fimage.png?alt=media&amp;token=4f6cb779-bbd9-4a6f-9b50-0541dcc861af" alt=""><figcaption></figcaption></figure>

输入验证码

<figure><img src="https://1858037474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmO8AWt7mfxhOvaYFtdzA%2Fuploads%2FbzQHGOUo80D7NIJfoovx%2Fimage.png?alt=media&amp;token=4b7b1ac4-62af-4a0f-b5d0-9df5dc1db894" alt=""><figcaption></figcaption></figure>

登录完成

<figure><img src="https://1858037474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmO8AWt7mfxhOvaYFtdzA%2Fuploads%2FnFBEo6nhUWtPxuKvc3Kn%2Fimage.png?alt=media&amp;token=60183342-c73d-4370-ba99-bc8ec3df34ab" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://zhang-hao-shang.gitbook.io/zhang-hao-shang-docs/tui-texzhang-hao-ge-zhong-deng-lu-fang-shi/twitter-de-2fa-shi-yong-shou-ji-he-dian-nao-jun-ke-shi-yong.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
