gpt4 book ai didi

twitter - 使用 Twitter 和帐户框架添加应用程序名称

转载 作者:行者123 更新时间:2023-12-02 15:14:31 25 4
gpt4 key购买 nike

我正在 iOS 5 上开发一个小型 Twitter 应用程序。我正在使用 Twitter 和帐户框架,因此我使用 ACAccount 登录并使用 TWRequest 发送推文。

当我发送推文时,在其详细信息中,我看到“通过 iOS”。我可以(通过 Twitter API 或 iOS 框架)设置应用程序名称来查看类似“via MyApp”的内容吗?

我知道如果我使用应用程序消费者 key 等通过 OAuth 进行身份验证,则会自动设置该值,但事实并非如此,因为我通过 ACAccount 进行身份验证。

谢谢。

最佳答案

好的,我在 Twitter 开发文档中找到了答案

Some application names of iOS devices cause failover source attribution to simply "iOS" instead of the proper name of the application. This usually occurs because the application's name in the Apple Store is longer than the maximum allowed in Twitter's data model, or because an associated URL with the application is not valid.

If you run into this issue ensure that: * You're using a published application. Unpublished iOS apps and ad-hoc provisioned iOS apps will not utilize custom source tags. * You've provided a valid URL to Apple in association with your application * Your application's name is not duplicative of a name in Twitter's application database.

If you don't want to wait for our bug fix: * That your application's name as registered with Apple is shorter than 32 characters and is not duplicative of an application name in Twitter's database.

https://dev.twitter.com/issues/39

关于twitter - 使用 Twitter 和帐户框架添加应用程序名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8026340/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com