Twitter Authentication through Android's AccountManager classes

后端 未结 2 1630
再見小時候
再見小時候 2021-01-18 02:21

I am developing an android application and want to integrate Twitter.

What I understand is if on user\'s device, official android Twitter app is installed then we ca

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-18 03:19

    well you use the secret and consumer key to actually get a token. by using the android accounts you get the token from them.

    So in general to do a tweet for example you only need a token and as i said you get that one either from the accounts or from twitter4j. so after you get the token from the accounts you need to set it as your twitter 4jsdk token and use the api regularly.

    Hope this makes sense.

提交回复
热议问题