[FIX] website_twitter: update the Twitter API guide

The way to have API Key and API Secret has changed to configure a
Twitter application. The guide for this configuration is updated with
this commit.

task-2852404

closes odoo/odoo#95707

X-original-commit: 63d74f03d6cf6cf704fcf7bd6f58541b9f1e2a52
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
Guillaume (gdi)
2022-07-08 23:55:18 +02:00
parent dce5dade01
commit 945991ba34
2 changed files with 8 additions and 11 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

@@ -29,21 +29,18 @@
<blockquote class="small">
<h2>How to configure the Twitter API access</h2>
<ol>
<li>Create a new Twitter application on <a href="https://apps.twitter.com/app/new" target="new">https://apps.twitter.com/app/new</a>
with the following values:
<li>Log in or create an account on <a href="https://developer.twitter.com/" target="new"> https://developer.twitter.com/</a></li>
<li>Once connected, and if not already done, complete the Twitter portal access process on <a href="https://developer.twitter.com/portal/" target="new">https://developer.twitter.com/portal/</a></li>
<li>On the <a href="https://developer.twitter.com/portal/" target="new">Twitter Portal</a>, <strong>create a project</strong> with the following information:
<ul>
<li><strong>Name: </strong> Odoo Twitter Integration</li>
<li><strong>Description: </strong> Odoo Twitter Integration </li>
<li><strong>Website: </strong>
<b><field name="twitter_server_uri" /></b></li>
<li><strong>Callback URL: </strong>Leave blank</li>
<li>Accept terms of use and click on the Create your Twitter application button at the bottom</li>
<li><strong>Use Case: </strong> Embedding Tweets in a website</li>
<li><strong>Description: </strong> Odoo Twitter Integration</li>
<li><strong>App Name: </strong> choose a unique name</li>
</ul>
</li>
<li>Switch to the API Keys tab: <br/>
<img src='/website_twitter/static/src/img/api_key.png' alt="API Key"/>
</li><br/>
<li>Copy/Paste Consumer Key (API Key) and Consumer Secret (API Secret) keys below.</li>
<li>Copy/Paste the API Key and API Key Secret values into the above fields</li>
<li>Get Elevated access by going to <a href="https://developer.twitter.com/en/portal/products" target="new">https://developer.twitter.com/en/portal/products</a>, click on <strong>Elevated</strong> then on <strong>Apply</strong> and finally complete the form.</li>
</ol>
</blockquote>
</div>