[android-developers] Re: Tripit Oauth

2009-10-29 Thread Wouter

I'm sorry to hear this all.. I search a lot on the net and I try a lot
to find it by myself but this isnt always successful.
This website here is my last place to ask when I don't know how to
solve it.

Now I have succedeed to solve this and I have an application where I
can receive the oauth_token and the authorized access token.

But now I want to access protected resources and when I try to do this
i get a 404 error not found while the url is valid and working.

I use this:

OAuthClient client = getOAuthClient();

OAuthMessage responseMsg = null;

...

responseMsg = client.invoke(access, GET, baseUrl, null);

10-29 18:52:21.141: ERROR/AndroidRuntime(749): Caused by:
net.oauth.OAuthProblemException: HTTP/1.1 404 Not Found

And yes I have tried a lot myself but I don't succeed to access
anything..

Wouter


On Oct 27, 4:30 pm, nEx.Software email.nex.softw...@gmail.com
wrote:
 I'll be honest, I have provided you with source code in the past (for
 other stuff) and you struggled with that and ended up asking for yet
 more source code. While I don't mind sharing it in most cases, I do
 grow weary of constantly providing my source to people who, if they
 simply put in the work (in this case it isn't that much), would be
 able to figure it out just like I had to do.

 Besides, in looking at the documentation for the TripIt API, my
 implementation for Twitter will not help.

 On Oct 27, 3:50 am, Wouter wouterg...@gmail.com wrote:

  Is it possible to post your source code for your application with
  Twitter Oauth so I can make my application work?

  Thank you,

  Wouter

  On 26 okt, 22:00, Wouter wouterg...@gmail.com wrote:

   Hey,

   I had followed this blog post also but it doesnt works for me..

   I also have this problem:
   when I get to the following line: provider.retrieveAccessToken
   (verifier); I receive this
   exception:oauth.signpost.exception.OAuthExpectationFailedException:
   Authorized request token or token secret not set. Did you retrieve an
   authorized request token before?

   Do you know what I can do to solve this problem? Thank you.

   On Oct 26, 4:53 pm, nEx.Software email.nex.softw...@gmail.com
   wrote:

I have successfully used signpost in Android for Twitter's OAuth API.
If I remember correctly, it is actually quite trivial. This blog post
explains how to do it with Twitter. I had commented on there that I
was not able to get it to work. Found out it was something stupid on
my part.

   http://dev.bostone.us/2009/07/16/android-oauth-twitter-updates/#awp::...

On Oct 26, 1:48 pm, Wouter wouterg...@gmail.com wrote:

 Hey,

 I am working on a new project with TripIt integration. Tripit has an
 api and has Oauth authentication.
 I have tested much with oauth-signpost but I am not able to receive an
 access token.

 Does someone has a good example for oauth (signpost) that works good
 with Android?

 Thank you,

 Wouter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Tripit Oauth

2009-10-27 Thread Wouter

Is it possible to post your source code for your application with
Twitter Oauth so I can make my application work?

Thank you,

Wouter

On 26 okt, 22:00, Wouter wouterg...@gmail.com wrote:
 Hey,

 I had followed this blog post also but it doesnt works for me..

 I also have this problem:
 when I get to the following line: provider.retrieveAccessToken
 (verifier); I receive this
 exception:oauth.signpost.exception.OAuthExpectationFailedException:
 Authorized request token or token secret not set. Did you retrieve an
 authorized request token before?

 Do you know what I can do to solve this problem? Thank you.

 On Oct 26, 4:53 pm, nEx.Software email.nex.softw...@gmail.com
 wrote:

  I have successfully used signpost in Android for Twitter's OAuth API.
  If I remember correctly, it is actually quite trivial. This blog post
  explains how to do it with Twitter. I had commented on there that I
  was not able to get it to work. Found out it was something stupid on
  my part.

 http://dev.bostone.us/2009/07/16/android-oauth-twitter-updates/#awp::...

  On Oct 26, 1:48 pm, Wouter wouterg...@gmail.com wrote:

   Hey,

   I am working on a new project with TripIt integration. Tripit has an
   api and has Oauth authentication.
   I have tested much with oauth-signpost but I am not able to receive an
   access token.

   Does someone has a good example for oauth (signpost) that works good
   with Android?

   Thank you,

   Wouter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Tripit Oauth

2009-10-27 Thread nEx.Software

I'll be honest, I have provided you with source code in the past (for
other stuff) and you struggled with that and ended up asking for yet
more source code. While I don't mind sharing it in most cases, I do
grow weary of constantly providing my source to people who, if they
simply put in the work (in this case it isn't that much), would be
able to figure it out just like I had to do.

Besides, in looking at the documentation for the TripIt API, my
implementation for Twitter will not help.

On Oct 27, 3:50 am, Wouter wouterg...@gmail.com wrote:
 Is it possible to post your source code for your application with
 Twitter Oauth so I can make my application work?

 Thank you,

 Wouter

 On 26 okt, 22:00, Wouter wouterg...@gmail.com wrote:

  Hey,

  I had followed this blog post also but it doesnt works for me..

  I also have this problem:
  when I get to the following line: provider.retrieveAccessToken
  (verifier); I receive this
  exception:oauth.signpost.exception.OAuthExpectationFailedException:
  Authorized request token or token secret not set. Did you retrieve an
  authorized request token before?

  Do you know what I can do to solve this problem? Thank you.

  On Oct 26, 4:53 pm, nEx.Software email.nex.softw...@gmail.com
  wrote:

   I have successfully used signpost in Android for Twitter's OAuth API.
   If I remember correctly, it is actually quite trivial. This blog post
   explains how to do it with Twitter. I had commented on there that I
   was not able to get it to work. Found out it was something stupid on
   my part.

  http://dev.bostone.us/2009/07/16/android-oauth-twitter-updates/#awp::...

   On Oct 26, 1:48 pm, Wouter wouterg...@gmail.com wrote:

Hey,

I am working on a new project with TripIt integration. Tripit has an
api and has Oauth authentication.
I have tested much with oauth-signpost but I am not able to receive an
access token.

Does someone has a good example for oauth (signpost) that works good
with Android?

Thank you,

Wouter


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Tripit Oauth

2009-10-26 Thread nEx.Software

I have successfully used signpost in Android for Twitter's OAuth API.
If I remember correctly, it is actually quite trivial. This blog post
explains how to do it with Twitter. I had commented on there that I
was not able to get it to work. Found out it was something stupid on
my part.

http://dev.bostone.us/2009/07/16/android-oauth-twitter-updates/#awp::2009/07/16/android-oauth-twitter-updates/

On Oct 26, 1:48 pm, Wouter wouterg...@gmail.com wrote:
 Hey,

 I am working on a new project with TripIt integration. Tripit has an
 api and has Oauth authentication.
 I have tested much with oauth-signpost but I am not able to receive an
 access token.

 Does someone has a good example for oauth (signpost) that works good
 with Android?

 Thank you,

 Wouter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Tripit Oauth

2009-10-26 Thread Wouter

Hey,

I had followed this blog post also but it doesnt works for me..

I also have this problem:
when I get to the following line: provider.retrieveAccessToken
(verifier); I receive this
exception:oauth.signpost.exception.OAuthExpectationFailedException:
Authorized request token or token secret not set. Did you retrieve an
authorized request token before?

Do you know what I can do to solve this problem? Thank you.

On Oct 26, 4:53 pm, nEx.Software email.nex.softw...@gmail.com
wrote:
 I have successfully used signpost in Android for Twitter's OAuth API.
 If I remember correctly, it is actually quite trivial. This blog post
 explains how to do it with Twitter. I had commented on there that I
 was not able to get it to work. Found out it was something stupid on
 my part.

 http://dev.bostone.us/2009/07/16/android-oauth-twitter-updates/#awp::...

 On Oct 26, 1:48 pm, Wouter wouterg...@gmail.com wrote:



  Hey,

  I am working on a new project with TripIt integration. Tripit has an
  api and has Oauth authentication.
  I have tested much with oauth-signpost but I am not able to receive an
  access token.

  Does someone has a good example for oauth (signpost) that works good
  with Android?

  Thank you,

  Wouter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---