Forum Discussion

M365Specialist's avatar
M365Specialist
Brass Contributor
Sep 12, 2022

SPO Twitter Web Part Height Randomly Decreased

Our SPO Intranet site had a long twitter feed featured  in the right vertical section of the communication site page. One day last week, we saw that the height of our feed had decreased from about 1200px to only 400px. This is destroying the layout of our page. 

 

  • I did try to increase the number of posts displayed, but this did not change the height of the web part.
  • I did add twitter.com to the acceptable domains list.
  • I've tried using iFrame embed codes, but no matter how I configure it, I get the same error message, "Twitter refuses to connect"

I'm hoping there is a PowerShell script that will increase the size of a twitter web part, maybe some adjustments need to be made from the Twitter admin side of the equation? 

Can anyone please help with this?

  • N3VRAM's avatar
    N3VRAM
    Sep 22, 2022

    Hi ganeshsanap,

    I appreciate your suggestion however this problem will be affecting SPO users globally. Anyone previously using the web part to span a content area now has to put up with the new behaviour when we much preferred the previous format. How do we raise this to Microsoft, as I am sure the change is going to be pretty unpopular?

    Thanks.

  • phillipwongnz's avatar
    phillipwongnz
    Copper Contributor
    Not sure if anyone got a straight answer from various support channels, but we use a twitter web part on our Drupal site as well as SPO and it has shrunk too. From what I can gather other users of twitter widgets not specifically using SPO have similar issues. I think it is a twitter problem. So unlikely to get resolved anytime soon given the goings on there.
    • M365Specialist's avatar
      M365Specialist
      Brass Contributor
      Thank you for your input Phillipwongnz. We had come to a similar deduction about the Twitter Web Part limitation. Unfortunately, Social media administration is tightly controlled by another team in our company and they have not followed it up. For months now, I've had to look at the home page of our intranet with that ridiculous unbalanced format every day. It's like looking at a supermodel with a missing tooth. 😞
  • M365Specialist Unfortunately, there are no settings available for web part height while using SharePoint OOTB Twitter web part: 

    Documentationuse-the-twitter-web-part 


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

    • JamesNet's avatar
      JamesNet
      Copper Contributor

      ganeshsanap, why has this changed and is it likely to change back, this is also ruining part of my site page?

      • M365Specialist's avatar
        M365Specialist
        Brass Contributor
        Hi James,
        No idea why it changed, it was 1200px one day and then 400px the next. Hard to say if it will revert back or not. We have put in a ticket with Microsoft, but they cannot help. Now I am pursuing Twitter for solutions. I did find a couple of third party widgets, but not sure if they are safe to install on our Tenant. The one I'm considering installing is from www.amrein.com, but none of our team is familiar with this company. Will investigate thoroughly and share our findings with you.
    • M365Specialist's avatar
      M365Specialist
      Brass Contributor
      Hi Ganeshsanap,
      Those settings are not making any difference to the height, even when number of tweets to show is maxed out, the widget frame height stays at around 400px.

      No idea why it changed - we thought there may have been an update that we didn't know about. Also suspecting this is suddenly happening from the Twitter end of the equation, so we're exploring that avenue as well.
  • jwills292's avatar
    jwills292
    Copper Contributor
    My company's tenant is having the same issue, the height of the web part has decreased significantly and I am not seeing a way to fix it. M365Specialist when you put in a ticket with Microsoft did they say why it was changed?
      • M365Specialist's avatar
        M365Specialist
        Brass Contributor
        As mentioned above, I did put in the ticket with Microsoft directly, but they were unable to assist. We are now pursuing Twitter for assistance, since it is they who are blocking the feed from our iFrame embed web part.
    • M365Specialist's avatar
      M365Specialist
      Brass Contributor

      Hi jwills292'

      No, the Technician I contacted did not seem aware of the issue till I pointed it out. It was only after a few emails went back and forth that he discovered that the Twitter Feed web part was 'updated' and we have no way of reverting it back.

       

  • N3VRAM's avatar
    N3VRAM
    Copper Contributor
    We are experiencing the same issue.

    Our Twitter feed web part was added to a vertical section that spanned the height of the whole page, after editing a different section and applying changes the Twitter web part has shrunken down to 400px - our site page design now looks worse than before.

    Microsoft, this needs fixing, please.
  • James Love's avatar
    James Love
    Brass Contributor
    I have a customer who also use this web part and are unhappy now at the layout - at least let us set a fixed height!
    • ganeshsanap's avatar
      ganeshsanap
      MVP

      James Love Unfortunately, SharePoint out of the box web part does not have option to set a fixed height of web part.

       

      There is one SPFx custom web part sample developed by community members and available in web part samples gallery which might be helpful to you: Twitter Timeline 


      Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

      • N3VRAM's avatar
        N3VRAM
        Copper Contributor

        Hi ganeshsanap,

        I appreciate your suggestion however this problem will be affecting SPO users globally. Anyone previously using the web part to span a content area now has to put up with the new behaviour when we much preferred the previous format. How do we raise this to Microsoft, as I am sure the change is going to be pretty unpopular?

        Thanks.

  • Aaron Wilson's avatar
    Aaron Wilson
    Copper Contributor

    M365Specialist - agreed, this has ruined many intranet home pages built on SharePoint.  It used to auto-size based on the number of tweets to display, which worked well.  Microsoft needs to fix this asap.

  • DaveRHA's avatar
    DaveRHA
    Copper Contributor
    Its an absolute joke. im having the same issues. whats the point in setting it to show x amount of comments when its only big enough to show one unless you scroll. what the heck are Microsoft doing messing about with something that was working perfectly.

Resources