kimyenac opened a new pull request, #82:
URL: https://github.com/apache/zeppelin-site/pull/82

   ### What is this PR for?
   
   The homepage "ZEPPELIN ON TWITTER" section renders raw error text instead of 
tweets:
   
   > There was a 'Moved Permanently' error fetching URL: 
'https://twitter.com/ApacheZeppelin'
   
   The `jekyll-twitter-plugin` `{% twitter %}` tag fetches the timeline through 
Twitter's oEmbed API **at build time**. Twitter/X shut down that public 
endpoint and `twitter.com` now 301-redirects to `x.com`, so the build-time 
fetch fails and the error string gets baked into the page.
   
   This PR replaces the build-time tag with the standard **client-side embedded 
timeline widget** (`platform.twitter.com/widgets.js`), which renders in the 
visitor's browser and performs no build-time fetch. The existing parameters are 
preserved (width 500, 4 tweets, no footer, centered), and the heading and 
"Follow Zeppelin" button are unchanged. The now-unused `jekyll-twitter-plugin` 
is removed from `_config.yml`, `Gemfile`, and `Gemfile.lock`, along with the 
dead `.tweet-cache` exclude entry.
   
   ### What type of PR is it?
   Bug Fix
   
   ### What is the Jira issue?
   * https://issues.apache.org/jira/browse/ZEPPELIN-6513
   
   ### How should this be tested?
   * Build the site (`bundle exec jekyll serve`) and open the homepage.
   * The "Zeppelin on Twitter" section no longer shows the "Moved Permanently" 
error text; the embedded timeline widget and the "Follow Zeppelin" button 
render.
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need to update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to