Video uploading using twitter android sdk gives error


#1

twitterVideoApiClient.videoUploadInitService().initialize(“INIT”, “video/mp4”, String.valueOf(file.length()),new Callback < TwitterVideoApiClient>()

Callback not working
its shows following error:-
IllegalArgumentException last argument must be return or callback


#2

Not sure what is wrong but it appears you are using an older version of TwitterKit. We are not using Retrofit 2.X which returns a Call object. See https://docs.fabric.io/android/twitter/access-rest-api.html#extensions