Twitter account registration
If you do not have a Twitter account, register it. You will receive a verification code on your email address or on your mobile phone. Enter it during authorisation. Then you should set a password.Your page is ready.
Twitter API settings
1. Go to https://apps.twitter.com/
2. Press Create an App
3. Press Apply
4. Fill in the fields:
Your country
Exploring the API
No
5. Press Let's do this
6. Confirm the Developer agreement & policy – press Submit
7. Verify your email – Press Confirm your email on the mail on your email
8. Fill in Application Name and press Get keys
9. Copy and save the next fields:
API Keys
API Key Secret
10. Press Dashbords
11. Press Yes, I saved them
12. Go to the Project & Apps tab and choose Project 1
13. Press Apply to take Elevated access
14. Fill in the fields as you wish and press Next
15. Fill in text fields by a short describtion how will you use Twitter API
16. Set the checkboxes as on the picture below:
Are you planning to analyze Twitter data? – No
Will your App use Tweet, Retweet, Like, Follow, or Direct Message functionality? – Yes
Do you plan to display Tweets or aggregate data about Twitter content outside Twitter? – No
Will your product, service, or analysis make Twitter content or derived information available to a government entity? – No
17. Press Next
18. Check your data and press Next
19. Confirm the Developer agreement & policy – press Submit
20. Go to the Project & Apps tab, choose ypur application and press Set up for user authentication settings
21. Choose Read and write and Direct message
22. Choose Web App, Automated App or Bot
23. Fill in the fields:
Callback URI / Redirect URL – the value of any URL, for example https://balance.beesender.com/
Website URL – the value of any URL, for example https://balance.beesender.com/
24. Press Save
25. Press Yes
26. Press Done
27. Press Yes, I saved it
28. Go to the Products tab and choose Dev Environment
29. Press Set up dev environment
30. Fill in the fields:
Dev environment label – значение на усмотрение, необходимо заполнить для следующих шагов
App – выберите своё приложение
31. Press Complete setup
32. Go to the Project tab and choose your application
33. Go to the Keys and Tokens tab
34. Press Generate near Access Token and Secret
35. Copy and save the next fields:
Access Token
Access Token Secret
36. Press Yes, I saved them
37. Go to your Twitter account – you can choose your profile and press Go to Twitter
38. Press More
39. Choose Security and account access
40. Choose Apps and sessions
41.Press Connected App
42. Check if your application exists
43. Go to the Setting and priority tab
44. Choose Privacy and safety
45. Choose Direct Message
46. Set the checkbox Allow message requests from everyone
Add Twitter channel to Creatio
Preparatory stage. The Creatio system to which you plan to connect Instagram Direct must have the current Beesender package installed. You can install Beesender from the Creatio marketplace by following this link.
1. Go to the System designer > Chat configuration > Channels
2. Press + and choose Twitter
3. Fill in the fields:
Add twitter channel | |
---|---|
Channel name | Channel name as you wish |
AccessToken | Access Token (p.35) |
AccessSecret | Access Token Secret (p.35) |
ConsumerKey | API Key |
ConsumerSecret | API Key Secret |
EnvironmentName | dev (label at p.30) |
Chat weight | 1 |
4. Press Add
Error 500
If an error occurs, you must regenerate the token keys and fill in the fields with new values:
1. Go to: Developer portal
2. Choose Projects & Apps tab
3. Choose your application
4. Go to the Keys and tokens tab
5. Press Regenerate near API Key and Secret
6. Press Yes, regenerate
7. Copy the API Key and set it in the ConsumerKey field in the Creatio
8. Copy the API Key Secret and set it in theConsumerKey field in the Creatio
9. Go back to Developer portal and press Yes, I saved them
10. Press Regenerate near Access Token and Secret
11. Press Yes, regenerate
12. Copy the Access Token and set it in the the Access Token field in the Creatio
13. Copy the Access Token Secret and set it in the the AccessSecretfield in the Creatio
14. Press ADD
Add twitter channel | |
---|---|
Channel name | Channel name as you wish |
AccessToken | Access Token |
AccessSecret | Access Token Secret |
ConsumerKey | API Key |
ConsumerSecret | API Key Secret |
EnvironmentName | dev |
Chat weight | 1 |