Troubleshooting Twitter issues when using in Enterprise Server 9
This article describes how to resolve various issues when working with or implementing the Enterprise Server Twitter plug-in. See Twitter installation and configuration.
Issues when registering the Twitter app
The following issues occur when trying to register the Issue with the Twitter app (see "Twitter Installation and Configuration" 4. Registering the Publication Channel.)
One of the following occurs:
- An error is displayed: "The requested URL /Enterprise/config/plugins/Twitter/callback.php was not found on this server."
- The Enterprise log-in screen is shown
Analysis: The Enterprise Server URL that was entered in the settings for the Twitter app does not match the URL of the Enterprise Server installation to which it needs to be connected.
Resolution: This happens when the SERVERURL_ROOT setting does not match the URL in the address bar of your Web browser. Perform the following steps:
Step 1. Do one of the following:
- Adjust the URL in your address bar
- Navigate to <SERVERURL_ROOT>/config/plugins/Twitter/callback.php page
Step 2. Click Register.
The Twitter authorization appears again and again.
Analysis: This happens when the Twitter authorization failed from an Enterprise point of view.
Resolution: Check the server logging to see if there are any errors shown.
Error: "Error accessing Twitter. Could not authenticate you." when publishing a Tweet
Analysis: This happens when the Issue is not registered with the Twitter app.
Resolution: Register the Issue with the Twitter app.
Step 1. Log in to Twitter with a Web browser, using the account for the created app.
Step 2. Access the Twitter Maintenance page in Enterprise Server.
Step 2a. In Enterprise Server, click Integrations in the Maintenance menu or on the Home page. A page with all integrated services appears.
Step 2b. Click Twitter. The Twitter Maintenance page appears, showing all available Twitter channels.
Step 3. For the Twitter Channel that needs to be connected to its defined Twitter app, click Register.
The Twitter page appears, asking for various permissions to be set.
Step 4. Follow the steps on screen.
When the process is successful, the Twitter Maintenance page in Enterprise will appear showing that the Issue is now registered with Twitter.