Forum Discussion

nakul's avatar
10 years ago

Twitter Widget Integration

Hi,

 

Can anyone please tell me how can i integrate twitter in my comminity page.

I have only the profile link like "https://twitter.com/orangemantraau" and nothing else.

 

Thanks

2 Replies

  • Hi,

     

    You have a couple of options:

     

    Twitter/ Lithium Module - If you look at the home page of this community on the right hand side towards the bottom you'll see a twitter widget, you can go down this route which is an extra service to pay for but allows you or your users to pull tweets into the community as a "post" and can also enable and allow your users to post a reply back into twitter from your community.

     

    Your own dev - You could just get a code dump for the generic html widget and add this to a new custom component which you then add to the layout of your community on whichever pages you want it on. This would be a really quick and simple way of doing it but you are limited with how you can style. 

     

    Alternatively you could do a completely custom component using the twitter API and integrate it into the community with as a component or doing something more contextual across key pages, i guess it depends on what your trying to achieve. 

     

     

     

  •  

    nakul - You can add this widget to your community with the help from this link. Moreover, as mentioned in the documentation, you need to authorize the account which needs to be setup, so you need to have the credentials for the twitter account. However, this is a one time activity and can be done on stage and production independently. You can set up the test (your own) twitter account on stage and this(orangemantraau) account on the production version.

     

    If this is not what you want, you can always use custom components and have your own code running there. Here are some examples you can try out or find few on your own. 

     

    http://www.karelia.com/support/sandvox/help/z/Adding_a_Twitter_Feed_to_Your_Site.html

    https://dev.twitter.com/web/embedded-timelines

     

    I hope this helps.