-
-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] tweetLimit in community/newsroom isn't been reflected #3132
Comments
I am seeing this |
/gfi |
Hey @sambhavgupta0705, your message doesn't follow the requirements, you can try |
Yes i'll like to fix this! It looking like that most probably because your current device isnt being logged in to Twitter/X, I'll try to look for some fix here so that it can be looked publically |
Additionally should we also consider adding scrollbar to contain the amount of tweets being show? (as I mentioned in the main issue) |
I had the same experience with the X timeline. After some research, I discovered that Twitter timelines can be generated using https://publish.twitter.com/ . However, it seems that this feature is not enabled for every account. Specifically, accounts with a blue tick have their timelines displayed correctly, while most accounts without a blue tick are not showing their tweets, there are some non-blue tick accounts that do display their timelines correctly. This discrepancy might be the root cause of the issue we're experiencing. |
Describe the bug.
Currently in community/newsroom page here, we are using
TwitterTimelineEmbed
fromreact-twitter-embed
package to show the twitter timeline, though we have mentioned tweetLimit:2 in our code, it isn't being reflect upon.The code block
Due to this many tweets are being loaded all together.
Expected behavior
Only limited amount of latest tweets should be shown, but when I looked within the
react-twitter-embed
package, this surely doesn't seem to be possible (as there are many issues already related to that like this ), but what we can do is to make the component scrollable by setting a specific height in theoptions
attribute of the component, as it was mentioned in the package's source code:Expected behaviour at the end should look something like this:
AsyncAPI.Newsroom._.AsyncAPI.Initiative.for.event-driven.APIs.-.Google.Chrome.2024-08-07.20-54-55.mp4
I'll make sure this aligns well with the current existing UI above just shows a probable fix to this.
Screenshots
Current Behaviour:
AsyncAPI.Newsroom._.AsyncAPI.Initiative.for.event-driven.APIs.-.Google.Chrome.2024-08-07.20-50-46.mp4
How to Reproduce
visit this page and head over to Latest News section
🥦 Browser
Google Chrome
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: