kisaga opened a new issue, #21952:
URL: https://github.com/apache/beam/issues/21952

   ### What happened?
   
   Recently I started getting involved in the OSS world and when I pulled this 
project and tried to run the java examples I met the following failure.
   
   ## Failure
   After getting credentials and overcoming the 401 responses I felt into the 
following:
   ```
   [Mon Jun 20 19:06:11 EEST 2022]403:The request is understood, but it has 
been refused. An accompanying error message will explain why. This code is used 
when requests are being denied due to update limits 
(https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
   <html>\n<head>\n<meta http-equiv="Content-Type" content="text/html; 
charset=utf-8"/>\n<title>Error 403 
   Please use V2 filtered and sample volume stream as alternatives
   </title>
   </head>
   <body>
   <h2>HTTP ERROR: 403</h2>
   <p>Problem accessing '/1.1/statuses/filter.json'. Reason:
   <pre>    
   Please use V2 filtered and sample volume stream as alternatives
   </pre>
   </body>
   </html>
   ```
   From [this 
announcement](https://twittercommunity.com/t/deprecation-announcement-removing-compliance-messages-from-statuses-filter-and-retiring-statuses-sample-from-the-twitter-api-v1-1/170500)
 I understood that a migration should be done to start using the v2 stream api. 
   
   The java twitter example should be migrated to the v2 endpoint. 
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: examples-java


-- 
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