Video uploading using twitter android sdk gives error


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


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