简体   繁体   English

集成适用于IOS 4.3的Twitter SDK

[英]Integrating Twitter SDK for IOS 4.3

I'm trying to integrate "log-in by twitter account" on my app. 我正在尝试在我的应用程序中集成“通过Twitter帐户登录”。 I've been trying a lot of external SDKs but to no avail. 我一直在尝试许多外部SDK,但无济于事。 (TwitterAgent / Sharekit) I can't use the official twitter framework cause I'm using IOS 4.3 on xcode 3.2.6. (TwitterAgent / Sharekit)我不能使用官方的twitter框架,因为我在xcode 3.2.6上使用IOS 4.3。 All I want in my app is to be able to log in using his/her twitter account and get the username or user id of the twitter account that is logged in. 我想要在我的应用程序中执行的所有操作是能够使用其Twitter帐户登录并获取已登录的Twitter帐户的用户名或用户ID。

Any tutorials that can lead me? 有任何可以引导我的教程吗?

thanks! 谢谢!

check this post may help as now almost everyone develops in iOS 5 查看这篇文章可能有帮助,因为现在几乎每个人都在iOS 5中进行开发

connecting twitter 连接推特

n if you hav added the sharekit, import the sharekit file into the view controller where you need twitter & import them n如果您已经添加了共享包,则将共享包文件导入到需要Twitter的视图控制器中并导入它们

import "SHKTwitter.h" 导入“ SHKTwitter.h”

import "Twitter/Twitter.h" 导入“ Twitter / Twitter.h”

As mentioned earlier, Sharekit is the best way to do it on iOS4 and up. 如前所述,Sharekit是在iOS4及更高版本上执行此操作的最佳方法。

BUT: Have you read the instructions and sticked to them really close? 但是:您是否已阅读说明并严格遵守这些说明?
If not, read this: Sharekit installation and usage 如果没有,请阅读以下内容: Sharekit的安装和使用

It's dead simple!!! 很简单!!!

By the way: Why are you working on Xcode 3? 顺便说一句:为什么要使用Xcode 3? Is it necessary? 有必要吗?

EDIT: 编辑:

please provide a screenshot of your compiler error like this one: 请提供您的编译器错误的屏幕截图,如下所示:
gcc编译器错误

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

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