8000 [ADD] discuss: Integrating Twitter Feed with Channels · sp4des/documentation-user@a3edbe2 · GitHub
[go: up one dir, main page]

Skip to content

Commit a3edbe2

Browse files
kebeclibretivisse
authored andcommitted
[ADD] discuss: Integrating Twitter Feed with Channels
added doc for creating a twitter app and getting API keys
1 parent 57aa7df commit a3edbe2

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

discuss/integrations/mail_twitter.rst

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
11
======================================
22
Integrating Twitter Feed with Channels
3-
======================================
3+
======================================
4+
5+
.. image:: media/twitter_user-image.png
6+
:align: center
7+
8+
A user can follow specific hashtags on twitter and see the tweets within the
9+
channels of his/her choice. The tweets are retrieved periodically from Twitter.
10+
An authenticated user can retweet the messages.
11+
12+
Setting up the App on Twitter's side
13+
====================================
14+
15+
Twitter uses an "App" on its side which is opens a gate to which Odoo asks for
16+
tweets, and through which a user can retweet.
17+
To set up this app, go to http://apps.twitter.com/app/new and put in the values:
18+
19+
- Name: this is the name of the application on Twitter
20+
21+
- Website: this is the external url of your Odoo database, with "/web" added.
22+
For example, if your Odoo instance is hosted at "http://www.example.com", you
23+
should put "http://www.example.com/web" in this field.
24+
25+
- Callback URL: this is the address on which Twitter will respond. Following the
26+
previous example you should write "http://www.example.com/web/twitter/callback".
27+
28+
Do not forget to accept the terms **Developer agreement** of use and click on
29+
**Create your Twitter application** at the bottom of the page.
30+
31+
32+
Getting the API key and secret
33+
==============================
34+
35+
When on the App dashboard, switch to the **Keys and Access Tokens** tab.
36+
37+
.. image:: media/api_key.png
38+
:align: center
39+
40+
And copy those values in Odoo in :menuselection:`Settings--> General Settings--> Twitter discuss integration`
41+
and click on **Save** to save the settings.
16.3 KB
Loading
Loading

0 commit comments

Comments
 (0)
0