Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-29639

Twitter feeds have stopped working in the Widget Connector

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      There appears to have been a change on the Twitter end of the connection so embedding Twitter feeds in the Widget Connector no longer works. When embedding a Twitter URL and clicking preview nothing is displayed, even though the instances had their whitelists disabled.

      This behaviour has been reproduced in Confluence v4.3.7, v5.1.3 and also on the EAC. When changing the embedded URL for a YouTube video the content was embedded as expected, which suggests this is Twitter specific.

      Related WC ticket: https://ecosystem.atlassian.net/browse/WC-61

      Workaround

      1. Enable HTML Macros in Confluence
      2. Create a Twitter widget by entering your Twitter URL to https://publish.twitter.com/#
      3. Copy the code for the widget into a HTML macro on your page

            [CONFSERVER-29639] Twitter feeds have stopped working in the Widget Connector

            A fix for this issue is available to Server and Data Center customers in Confluence 7.5.0
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.5.0 Upgrade now or check out the Release Notes to see what other issues are resolved.

            HI,

             

            we have same issue, is there some informations when this will be resolved?

            lukasz luniewski added a comment - HI,   we have same issue, is there some informations when this will be resolved?

            Dave Horn added a comment -

            It appears Twitter no longer goes through the Embed Profile steps, and Twitter feeds are no longer showing up in the Widget Connector macro.

            Confluence 6.7.2, build 7601

             

            Dave Horn added a comment - It appears Twitter no longer goes through the Embed Profile steps, and Twitter feeds are no longer showing up in the Widget Connector macro. Confluence 6.7.2, build 7601  

            Great! Thanks, using the search -type widget it now works.

            Juha Martikainen added a comment - Great! Thanks, using the search -type widget it now works.

            Giles B added a comment -

            Hi juha.h.martikainen@aalto.fi, You're right that it looks like Twitter have changed this again, but I did manage to find out that you can create a "Search" Widget. It won't take you to the publish.twitter URL, and still has the required ID.

            Once you create the search widget, edit it and grab the ID from the URL. I'll update the doc to add the type of widget you need to create.

            Giles B added a comment - Hi juha.h.martikainen@aalto.fi , You're right that it looks like Twitter have changed this again, but I did manage to find out that you can create a "Search" Widget. It won't take you to the publish.twitter URL, and still has the required ID. Once you create the search widget, edit it and grab the ID from the URL. I'll update the doc to add the type of widget you need to create.

            There must be something I do differently, as when I go to create a widget I end up in publish.twitter.com. The address bar only shows publish.twitter.com/# the whole time, there is no save anywhere only a created link tag with style options and an http address to the user whos timeline it shows. (For example using my own it shows : <a class="twitter-timeline" href="https://twitter.com/Kuura">Tweets by Kuura</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> "

            Juha Martikainen added a comment - There must be something I do differently, as when I go to create a widget I end up in publish.twitter.com. The address bar only shows publish.twitter.com/# the whole time, there is no save anywhere only a created link tag with style options and an http address to the user whos timeline it shows. (For example using my own it shows : <a class="twitter-timeline" href="https://twitter.com/Kuura">Tweets by Kuura</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> "

            Giles B added a comment -

            Hi juha.h.martikainen@aalto.fi, I've just tested the process on this page and it seems to work fine for me. The ID is in the URL when you create or edit a widget, and within the script tags as the "data-widget-id".

            Giles B added a comment - Hi juha.h.martikainen@aalto.fi , I've just tested the process on this page and it seems to work fine for me. The ID is in the URL when you create or edit a widget, and within the script tags as the "data-widget-id".

            The documentation is no longer valid as Twitter widget doesn't give id for the widget anymore, just a script link.

            Juha Martikainen added a comment - The documentation is no longer valid as Twitter widget doesn't give id for the widget anymore, just a script link.

            Giles B added a comment -

            Hi adam201,

            That page is actually gone from our current documentation, as there were a number of issues with it. The best page and most current page to look at is for the Widget connector macro.

            I'll update the page in the 5.7 docs also though.

            Giles B added a comment - Hi adam201 , That page is actually gone from our current documentation, as there were a number of issues with it. The best page and most current page to look at is for the Widget connector macro . I'll update the page in the 5.7 docs also though.

            Perhaps the docs should be updated: https://confluence.atlassian.com/conf57/widget-connector-examples-701435122.html still lists Twitter as an option for the widget connector.

            Adam Parkin added a comment - Perhaps the docs should be updated: https://confluence.atlassian.com/conf57/widget-connector-examples-701435122.html still lists Twitter as an option for the widget connector.

              aknight@atlassian.com Alex K
              jinder John Inder [Atlassian] (Inactive)
              Affected customers:
              25 This affects my team
              Watchers:
              33 Start watching this issue

                Created:
                Updated:
                Resolved: