I started working on Android Development for a while. According to the tutorials, they should be trying to remove JSON information from the Twitter API ...
As instructed in the tutorial, this is the code to use:
" http://api.twitter.com/1/statuses/user_timeline.json?screen_name= write username "
HOWEVER, I got a response saying that the API is no longer available, and I should upgrade to API v1.1.
Could someone help on what to do to replace url, I was instructed to use ??
Note When I used the new url from API v1.1: " https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=twitterapi&count=2 "
I get the following:
"{" errors ": [{" message ":" Bad Authentication data "," code ": 215}]}"
The old Twitter API does not require authentication to retrieve user_timeline , but v1.1 requires authentication to retrieve data ( https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline ). According to the Twitter API, all user API v1.1 requests require user authentication.
user_timeline
Read more about authentication here. https://dev.twitter.com/docs/auth/oauth#v1-1
Source: https://habr.com/ru/post/1495166/More articles:Convert date to continuous scale / variable - rUnable to make a modal look right in the center of the screen of an iPad iOS6 - iosThe best way to remove everything except 5 predefined HTML objects with PHP is to output XHTML5 - html5What is equivalent to Java ByteBuffer.wrap in C #? - javaDate sorting not returning Date sorting - javascriptDefine a function as a list item - pythonAsp.net mvc3 application opened in Visual Studio 2012 could not find assembly "EntityFramework" - c #A pair of function call statements - c ++Java equivalent of "ByteBuffer.putType ()" in C # - javaWhat is the purpose of using std :: ios_base :: trunc flag with std :: ios_base :: out - c ++All Articles