问题描述
我在iPhone应用程序中使用MGTwitterEngine,效果很好。我想改变的一件事是Twitter上出现的MGTwitterEngine发布。显然我希望它说来自MyCoolApp,并链接到应用程序的网站。
I'm using MGTwitterEngine in an iPhone app, and it works great. The one thing I want to change is the "posted from MGTwitterEngine" that appears on Twitter. Obviously I'd like it to say "from MyCoolApp", and link to the app's website.
当您在Twitter注册应用程序时(),您可以获得以下信息:
When you register an app with Twitter (http://twitter.com/oauth_clients/create), you get this info:
* Consumer key
***a891tcxSvL6QpEeo12g
* Consumer secret
***MqeRIXiWsecretAdAjCgFsBN7Lef12f3uyxJFrs
* Request token URL
http://twitter.com/oauth/request_token
* Access token URL
http://twitter.com/oauth/access_token
* Authorize URL
http://twitter.com/oauth/authorize
您在当前版本的MGTwitterEngine中何处输入此信息?
Where do you input this information in the current release of MGTwitterEngine?
推荐答案
您可以在自述文件中找到有关如何执行此操作的详细信息:
You can find detailed information on how to do this in the Readme:http://svn.cocoasourcecode.com/MGTwitterEngine/README.txt
您提到您已收到令牌,因此下一步是调用方法
You mentioned that you already received your token, so the next step would be to call the method
- (void)setClientName:(NSString *)name version:(NSString *)version URL:(NSString *)url token:(NSString *)token;
。
这篇关于iphone MGTwitterEngine - 使用我的应用签名发布推文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!