How to setup auto-posting to Twitter
This feature enables to connect EasyDNNnews with Twitter. Integration allows you to automatically post articles from EasyDNNnews on Twitter.
To be able to setup Twitter integration first you must to apply for developer account and then create a Twitter application.
Apply for Twitter developer account
Go to this website.
Click on “Apply”.
Click on “Apply for a developer account”.
Select your account and click “Continue”.
Select “I am requesting access for my own personal use”, fill in your username, select country and click “Continue”.
Select “Publish and curate Tweets”. In the textbox enter the following answers:
“What is the purpose of your product or service?
Publish tweets from my web application.
What will you deliver to your users/customers?
A web application for publishing articles. When a new article is published, a new tweet will be sent with a new article link.
How do you intend to analyze Tweets, Twitter users, or their content?
We do not analyze Tweets or users.
How is Twitter data displayed to users of your end product or service (e.g. will Tweets and content be displayed at row level or in aggregate)?
No tweets will be displayed to users.
Used for publishing tweets with article links when a new article is added. Tweets will be published from the web application.”
Select “No” and click continue.
Agree to “Terms of service” and click “Submit application”.
Wait for a developer account approval.
How to create a Twitter application
After your developer account is approved go to https://developer.twitter.com/en/apps.
Click on “Create an app”.
One the “Create an app” form fill in the required fields.
Leave the “Callback URL” field empty.
In the “App usage” field enter: “Used for publishing tweets with article links when new article is added. Tweets will be published from web application.”
Click on “Create”.
Go to app “Permissions” tab and make sure you have “Read and write” access permission.
Go to app “Keys and tokens” tab and under “Consumer API keys” copy and save the Consumer Key (API Key) and the Consumer Secret (API Secret).
How to connect EasyDNNnews and Twitter application
Open the website with the EasyDNNnews module. Go to the Dashboard>API settings and enter your Consumer key and Consumer secret. Click on Add or update the Twitter app.
Now you need to go to EasyDNNnews module settings and open section 18 Autoposting to Journal and Social networks and change it to Module instance (override default).
Under Twitter section click on Open/Close Twitter connection pane.
Next click on option 1. Connect module to the Twitter account.
After that, you will be taken to Twitter and prompted to allow posting to your account.
Click on Authorize app. Secret key will be displayed. Copy it and save it.
Return to EasyDNNnews module and enter secret key and click on Connect to Twitter.
You will see the message Connect to Twitter OK. Click on Save settings.
Now when you add or edit an article you will have the option to post it on Twitter.