Android: How to set permissions for integrated Twi

2019-07-19 02:37发布

问题:

I just integrated Twitter with OAuth into my Android application, and now I wanted to change the rigths of my application. Instead of all the listed rights in my screenshot, I just want my app to publish tweets at the timeline. (don't want to scare people of, because I don't want to have access to their profile...)

But I'm a bit lost with the twitter-API and the only thing I found so far, is in the Application settings to change the Application Type to 'Read',Read & Write or Read & Write and Access direct messages.

So question is: How can I limit the permissions of my application?

//f.e. Integration Facebook SDK: here you can set different types,like
// "only allow application to post something in your name"...
.setPublishPermissions(Arrays.asList("publish_stream"))