Configure Twitter in Sitefinity CMS

Use this page to add and configure registered Twitter applications to Sitefinity CMS. Through Sitefinity CMS backend you can use the Twitter API to publish tweets. For example, your blog posts can be published as tweets. To do this you need to register a Twitter application in Twitter and add it in Sitefinity.

NOTE: Sitefinity CMS application is added as an application by default and you can use it to tweet. You must register additional applications only if you do not want to use Sitefinity. You can, for example, add the name of your website as an application.
Even if you do not register your own application, you must assign users to Sitefinity CMS application – Step 6 and Step 7 of the following procedure.

To register an application, perform the following:

  1. Navigate to Administration » Settings » Twitter.
    If you have multisite, navigate to Administration » Settings » Global settings » Twitter
  2. Click Register an application in Twitter link.
    The Register an Application form opens.
    For more information, see twitter developers page on http://dev.twitter.com/.
  3. Fill out the registration form.

    NOTE: In Application Name input field, enter the name of your website. You must also fill out the Callback URL field, following the format:
    http(s)://example.com/Sitefinity/Administration/Settings/Basic/Twitter/

    When you complete your application registration, Twitter will generate a Consumer key and Consumer secret for your application.

  4. On Sitefinity’s Basic Settings page, click Add a registered Twitter application button.
  5. Enter the Application Name, the Consumer Key and Secret, generated by Twitter.
  6. Click Save.
    The application appears in the list of registered applications.

    You can delete an application by clicking its Actions button and selecting Delete.

  7. To associate Twitter users with an application, click the Actions link of the respective application and then click Associate Twitter User.
    You must associate at least one user, because there must be a Twitter user from whose account the tweets will be published. You can add more than one user to an application.

    For example, you can register an application MyNews, but you can associate two accounts with that application – sports and weather. Some people may follow only the sports other may follow only the weather.

    Twitter opens, asking you to grant access to the application to your Twitter data.

  8. Enter the login credentials of the user, which you want to associate and click Allow.
    The user appears under ASSOCIATED USERS on Basic Settings page.

NOTE: If you want to publish from Sitefinity CMS to Twitter, you must to create a feed. For more information, see Twitter feed.

URL Shortening 

Bitly is a URL shortening service. By default, Sitefinity CMS application uses the Sitefinity CMS bitly account for URL shortening. You can register and use your own bit.ly account. To do this, register at https://bitly.com/ and obtain the Account name and the API Key, which you then enter in Sitefinity CMS, by clicking the default Sitefinity CMS account under URL Shortening section.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?