...
1. Go to https://apps.twitter.com/
2. Press Click Create an App
...
3. Press Click Apply
...
4. Fill in the fields:
Your country
Exploring the API
No
5. Press Click Let's do this
...
6. Confirm the Developer agreement & policy – press click Submit
...
7. Verify your email – Press click Confirm your email on the mail on your email
...
8. Fill in Application Name and press click Get keys
...
9. Copy and save the next fields:
API Keys
API Key Secret
10. Press Click Dashbords
...
11. Press Click Yes, I saved them
...
12. Go to the Project & Apps tab and choose and select Project 1
...
13. Press Click Apply to take Elevated access
...
14. Fill in the fields as you wish and press click Next
...
15. Fill in text fields by a short describtion how will you use Twitter API
...
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 Click Next
...
18. Check your data and press Click Next
...
19. Confirm the Developer agreement & policy – press click Submit
...
20. Go to the Project & Apps tab, choose select ypur application and press click Set up for user authentication settings
...
21. Choose Select Read and write and Direct message
...
22. Choose Select Web App, Automated App or Bot
...
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 Click Save
...
25. Press Click Yes
...
26. Press Click Done
...
27. Press Click Yes, I saved it
...
28. Go to the Products tab and choose select Dev Environment
29. Press Click Set up dev environment
...
30. Fill in the fields:
Dev environment label – значение на усмотрение, необходимо заполнить для следующих шагов
App – выберите своё приложение
31. Press Click Complete setup
...
32. Go to the Project tab and choose select your application
33. Go to the Keys and Tokens tab
34. Press Click Generate near Access Token and Secret
...
Access Token
Access Token Secret
36. Press Click Yes, I saved them
...
37. Go to your Twitter account – you can choose select your profile and press click Go to Twitter
...
38. Press Click More
39. Choose Select Security and account access
40. Choose Select Apps and sessions
41.Press Click Connected App
...
42. Check if your application exists
...
43. Go to the Setting and priority tab
44. Choose Select Privacy and safety
45. Choose Select Direct Message
...
46. Set the checkbox Allow message requests from everyone
...
1. Go to the System designer > Chat configuration > Channels
2. Press Click + and choose select 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 Click 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 Select Projects & Apps tab
3. Choose Select your application
4. Go to the Keys and tokens tab
...
5. Press Click Regenerate near API Key and Secret
6. Press Click Yes, regenerate
...
7. Copy the API Key and set it in the ConsumerKey field in the Creatio
...
9. Go back to Developer portal and press click Yes, I saved them
10. Press Click Regenerate near Access Token and Secret
...
11. Press Click 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 Click 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 |
...