有没有办法在iPhone上使用xAuth或OAuth身份验证在Twitter上上传照片?有没有我可以使用的示例代码或框架?iPhone:如何使用xAuth或OAuth身份验证在Twitter上上传照片?
2
A
回答
1
根据this answer无法将图片直接上传到Twitter。你需要加载一些其他的照片分享网站,并在你的Twitter帖子中链接到它。我建议看看imgur。他们have an API你可能可以使用。
0
照片分享uplaod功能现在可在Twitter上找到,但没有稳定的iphone版本发布。
0
它在iOS的5很容易
只需包含头文件#import "Twitter/Twitter.h"
,并在项目中添加框架Twitter.framework ..
然后添加下面的线为一个按钮动作:
TWTweetComposeViewController *tweeter = [[TWTweetComposeViewController alloc] init];
[tweeter setInitialText:@"message"]; // for posting text
[tweeter addImage:image]; // for posting image
[self presentModalViewController:tweeter animated:YES];
相关问题
- 1. Twitter身份验证OAuth或XAuth
- 2. MGTwitterEngine用于Iphone身份验证xAuth oAuth
- 3. iPhone:如何使用xAuth身份验证与Twitter整合?
- 4. 使用iPhone上的xAuth和/或Web上的OAuth连接到Twitter?
- 5. 如何对私人照片使用Flickr Oauth身份验证?
- 6. 在身份验证使用的Vimeo XAUTH
- 7. iPhone:如何上传照片到Twitter
- 8. OAuth身份验证Iphone
- 9. Twitter(xCode/iPhone)如何通过oAuth成功验证身份?
- 10. 如何在iphone中使用twitter api上传照片?
- 11. 在BlackBerry上验证Twitter OAuth
- 12. iOS中的Twitter oAuth身份验证
- 13. Twitter中的OAuth身份验证
- 14. 使用Twitter上的Twitter访问令牌进行身份验证(使用iOS Twitter反向身份验证)
- 15. Twitter oAuth:更新经过身份验证的用户身份
- 16. Twitter上的Sencha Touch的oAUth身份验证
- 17. PHP - 如何使用OAuth在twitter上发布照片
- 18. 如何在iPhone上使用Graph API在Facebook上上传照片?
- 19. 有关OAuth/XAuth身份验证的问题
- 20. OAuth身份验证,如Facebook
- 21. 如何在OAuth身份验证期间静态提供Twitter PIN
- 22. 无法通过SSL在WooCommerce API上使用oAuth身份验证
- 23. 使用FOSUserBundle在oAuth上进行Symfony身份验证
- 24. 在流星应用上使用twitter进行身份验证
- 25. 在android上使用自己的身份验证的twitter
- 26. NoReverseMatch在twitter上使用django-socialregistration进行身份验证
- 27. 用户身份验证使用OAuth
- 28. 是否可以在twitter上上传照片?如果是,那么如何发布或上传Android的照片?
- 29. 在iphone中使用OAuth身份验证推特
- 30. 通过twitter和其强制oauth身份验证使用Elmah?