[twitter-dev] Re: MGTwitterEngine with OAuth and XAuth support

2010-05-16 Thread Mathieu
Thanks Steve!

I'm using it, but I always get back a 401 error when trying to do a
request.

- My apps have been granted xAuth access by Twitter (I tried with
multiple consumer keys and secrets)
- I fetch the token with -[MGTwitterEngine
getXAuthAccessTokenForUsername:password:]
- I get the token back in -[id accessTokenReceved:forRequest:]
- I set it on the Twitter engine with -[MGTwitterEngine
setAccessToken:]
- I try to send an update with -[MGTwitterEngine sendUpdate:] and I
always get a 401 error back (with no description of the 401)

Is it working for someone? Any idea of what is going on in my case?

Thanks a lot,

Mathieu

On May 1, 6:57 pm, Steve Streza stevestr...@gmail.com wrote:
 Hey everyone,

 I'm one of the collaborators on theMGTwitterEngineproject for Mac
 and iPhone developers. We've finished our initial implementation of
 OAuth and XAuth support withinMGTwitterEngine. This uses the
 OAuthConsumer framework to handle the business end of OAuth, meaning
 that there are only a couple newMGTwitterEngineAPIs you need to use
 (and we've got a wiki guide for migrating to OAuth). We expect most
 users of the framework to want to use XAuth to obtain an access token,
 so we have a convenience API for handling that (of course, you'll need
 to obtain the opt-in from Twitter). After getting XAuth access, it
 shouldn't take more than a half hour to get set up to obtain your
 access token and start sending requests.

 We're also planning on releasing a new version ofMGTwitterEnginewith
 support for some new APIs and bug fixes, as well as OAuth. We're
 hoping to get this out by WWDC, or at least before the OAuth deadline.
 We're aware of the buffer needed for App Store approval, so we'll be
 trying to finish this up ASAP.

 You can grab the code from the project page 
 here:http://github.com/mattgemmell/MGTwitterEngine/

 You can read the migration guide 
 here:http://wiki.github.com/mattgemmell/MGTwitterEngine/migrating-from-bas...

 Feedback is always welcome. If you have any issues, please file them
 in the project issue tracker 
 here:http://github.com/mattgemmell/MGTwitterEngine/issues

 Now stop using basic auth already.

 Thanks,
 Steve


[twitter-dev] Re: MGTwitterEngine with OAuth and XAuth support

2010-05-05 Thread David Stites
I am seeing the same behavior.  I am using the OAuthConsumer library
from http://github.com/jdg/oauthconsumer and the latest revision of
MGTE.  It appears that the Security.framework for iPhone is missing
SecKeyChain.h...

-d

On May 4, 2:49 am, Linan newkhon...@gmail.com wrote:
 Thank you for the great update.

 Under Cocoa.h (Mac OS X SDK) Build succeeded.

 But under Foundation.h(iPhone SDK) Can not clear Build. missing some
 class like SecKeychainRef ...

 Is this version not iphone friendly?

 On May 2, 10:57 am, Steve Streza stevestr...@gmail.com wrote:



  Hey everyone,

  I'm one of the collaborators on the MGTwitterEngine project for Mac
  and iPhone developers. We've finished our initial implementation of
  OAuth and XAuth support within MGTwitterEngine. This uses the
  OAuthConsumer framework to handle the business end of OAuth, meaning
  that there are only a couple new MGTwitterEngine APIs you need to use
  (and we've got a wiki guide for migrating to OAuth). We expect most
  users of the framework to want to use XAuth to obtain an access token,
  so we have a convenience API for handling that (of course, you'll need
  to obtain the opt-in from Twitter). After getting XAuth access, it
  shouldn't take more than a half hour to get set up to obtain your
  access token and start sending requests.

  We're also planning on releasing a new version of MGTwitterEngine with
  support for some new APIs and bug fixes, as well as OAuth. We're
  hoping to get this out by WWDC, or at least before the OAuth deadline.
  We're aware of the buffer needed for App Store approval, so we'll be
  trying to finish this up ASAP.

  You can grab the code from the project page 
  here:http://github.com/mattgemmell/MGTwitterEngine/

  You can read the migration guide 
  here:http://wiki.github.com/mattgemmell/MGTwitterEngine/migrating-from-bas...

  Feedback is always welcome. If you have any issues, please file them
  in the project issue tracker 
  here:http://github.com/mattgemmell/MGTwitterEngine/issues

  Now stop using basic auth already.

  Thanks,
  Steve


[twitter-dev] Re: MGTwitterEngine with OAuth and XAuth support

2010-05-04 Thread Linan
Thank you for the great update.

Under Cocoa.h (Mac OS X SDK) Build succeeded.

But under Foundation.h(iPhone SDK) Can not clear Build. missing some
class like SecKeychainRef ...

Is this version not iphone friendly?

On May 2, 10:57 am, Steve Streza stevestr...@gmail.com wrote:
 Hey everyone,

 I'm one of the collaborators on the MGTwitterEngine project for Mac
 and iPhone developers. We've finished our initial implementation of
 OAuth and XAuth support within MGTwitterEngine. This uses the
 OAuthConsumer framework to handle the business end of OAuth, meaning
 that there are only a couple new MGTwitterEngine APIs you need to use
 (and we've got a wiki guide for migrating to OAuth). We expect most
 users of the framework to want to use XAuth to obtain an access token,
 so we have a convenience API for handling that (of course, you'll need
 to obtain the opt-in from Twitter). After getting XAuth access, it
 shouldn't take more than a half hour to get set up to obtain your
 access token and start sending requests.

 We're also planning on releasing a new version of MGTwitterEngine with
 support for some new APIs and bug fixes, as well as OAuth. We're
 hoping to get this out by WWDC, or at least before the OAuth deadline.
 We're aware of the buffer needed for App Store approval, so we'll be
 trying to finish this up ASAP.

 You can grab the code from the project page 
 here:http://github.com/mattgemmell/MGTwitterEngine/

 You can read the migration guide 
 here:http://wiki.github.com/mattgemmell/MGTwitterEngine/migrating-from-bas...

 Feedback is always welcome. If you have any issues, please file them
 in the project issue tracker 
 here:http://github.com/mattgemmell/MGTwitterEngine/issues

 Now stop using basic auth already.

 Thanks,
 Steve