简体   繁体   English

在Android应用中使用Fabric.IO和TwitterLogin时,什么控制Twitter访问权限?

[英]What controls Twitter access rights, when using Fabric.IO and TwitterLogin in Android app?

What controls the Twitter access rights? 什么控制着Twitter的访问权限?

  1. Is it the Twitter application as defined in my Twitter dev account? 是我的Twitter开发人员帐户中定义的Twitter应用程序吗?
  2. Is it the Twitter Android API ? 是Twitter Android API吗?
  3. Is it the TwitterLogin plugin info provided by Fabric.IO? 是Fabric.IO提供的TwitterLogin插件信息吗?
  4. Is it a combination of these? 是这些的结合吗?
  5. Is it something else? 还有吗

Using Twitter as a Way to Identify User 使用Twitter作为识别用户的方法

All I want to do is use the Twitter OAuth which is provided by FabricIO and the TwitterLogin infrastructure so I can identify a user. 我要做的就是使用FabricIO提供的Twitter OAuth和TwitterLogin基础结构,以便我可以识别用户。 In other words, let the user sign on using Twitter. 换句话说,让用户使用Twitter登录。 However, I don't need or want more access to their account. 但是,我不需要或想要更多访问他们的帐户的权限。

However, as you can see in the image below, the app seems to gain far more access to the user's Twitter account than I need. 但是,如下图所示,该应用程序似乎比我需要的拥有更多访问用户Twitter帐户的权限。

Possible To Change? 可能改变?

Is it possible to change this so it is very limited? 是否可以更改此设置,所以它非常有限? If so, where would I make those changes? 如果是这样,我将在哪里进行这些更改?

Twitter访问权限

I just found the settings in my twitter dev account and it resolves some of this, but not all. 我刚刚在我的twitter开发帐户中找到了设置,它可以解决其中的一些问题,但不是全部。 However, maybe this is all it is even possible to control?? 但是,也许这就是所有可能的控制方式??

  1. Go to https://apps.twitter.com/ (it'll take you to your twitter dev account). 转到https://apps.twitter.com/ (它将带您到您的twitter开发帐户)。
  2. If you have more than one app, choose the app you want to change. 如果您有多个应用程序,请选择要更改的应用程序。
  3. Click the [Permissions] Tab. 单击[权限]选项卡。
  4. You will see something like the following images: 您将看到类似以下图像的内容:

Mine was set on Read & Write (2nd choice)- Image shows where I have now selected the Read only choice. 我的设置读写 (第二选择) -图片显示了我现在只选择了读的选择。 选择只读

Click the [UPdate Settings] button and you get the odd screen that follows: 单击[更新设置]按钮,将显示以下奇数屏幕: 选择还原

That made me think I hadn't chosen the correct choice (read only). 这让我觉得我没有选择正确的选择(只读)。

Finally, after a few minutes I refreshed the app settings web page and saw that it was on Read Only. 最终,几分钟后,我刷新了应用程序设置网页,发现它位于只读状态。

I then tried logging in using my Android application again and it now looks like the following: 然后,我尝试再次使用我的Android应用程序登录,现在看起来如下所示: 在此处输入图片说明

Now, it cannot tweet for the user nor can it add users. 现在,它无法为用户发推文,也不能添加用户。 It still seems a bit intrusive though, just to use it for Authentication. 但是,仅将其用于身份验证似乎还是有点麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM