Implemented request_token -> PIN -> auth_token #60

wants to merge 6 commits into


None yet
2 participants

Hi !
and first of thanks for making this library open source.

Since twitter didn't grant me xAuth, i updated your sweet library to support the request_token and PIN authentication mechanism. I also updated the Demo application to show an "Enter PIN"-Window and the tests seem to run nicely with my authentication.

You might therefore be interested in pulling back some of my changes to MGTwitterEngine and AppController into your main branch.

I also inlined the requirement for OAuthConsumer using git submodules and created a target for compiling MGTwitterEngine into a framework, but here i'm not sure how useful that will be to other users.

Cheers, Hajo


This seems like a great addition, however I am getting a compiler error I dont normally get with MGTwitterEngine when using this for:

Undefined symbols for architecture x86_64:
"OBJC_CLASS$_MGTwitterTouchJSONParser", referenced from:
objc-class-ref in MGTwitterEngine.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

Do you know what could possibly be causing it? I have checked project settings and as far as I can see it is all fine?


fxtentacle replied Jul 18, 2011

that looks odd. The MGTwitterTouchJSONParser is a local class, meaning the symbol that is missing should be generated when you recompile everything for x86_64. Aside from that, i don't know what might be the problem since it's compiling fine for me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment