Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Implemented request_token -> PIN -> auth_token #60

Open
wants to merge 6 commits into from

3 participants

@fxtentacle

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

@gavinb80

Hi,

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?

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
Commits on Oct 15, 2010
  1. @fxtentacle
  2. @fxtentacle
  3. @fxtentacle

    Updated for request_token -> PIN authentication + updated Demo App

    fxtentacle authored
    You will need to create your own SecretValues.h and fill it with your secret tokens, obtainable at:
    http://dev.twitter.com/apps/new
  4. @fxtentacle
  5. @fxtentacle
Commits on Oct 18, 2010
  1. @fxtentacle

    added a accountInfoReceived:requestFor: delegate to MGTwitterEngine

    ivanmantova authored fxtentacle committed
    It makes setting up user information in the client after authentication a lot less messy
Something went wrong with that request. Please try again.