使用 Twitter 和帐户框架添加应用程序名称
我正在 iOS 5 上开发一个小型 Twitter 应用程序。我正在使用 Twitter 和帐户框架,因此我使用 ACAccount
登录并使用 TWRequest
发送推文。
当我发送推文时,在其详细信息中,我看到“通过 iOS”。我可以(通过 Twitter API 或 iOS 框架)设置应用程序名称来查看类似“via MyApp”的内容吗?
我知道如果我使用我的应用程序消费者密钥等通过 OAuth 进行身份验证,则会自动设置,但情况并非如此,因为我通过 ACAccount
进行身份验证。
谢谢。
I'm developing a little Twitter application on iOS 5. I'm using Twitter and Accounts frameworks so I login in with an ACAccount
and send tweets with TWRequest
.
When I send a tweet, on its details, I see "via iOS". Can I set (via Twitter API or iOS frameworks) a name of application to see something like "via MyApp"?
I know that is automatically set if I authenticate via OAuth with my app consumer keys and so on, but this is not the case because I authenticate via ACAccount
.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我在 Twitter 开发文档中找到了答案
https://dev.twitter.com/issues/39
Ok, I've found the answer, on the Twitter Dev Documentation
https://dev.twitter.com/issues/39