Hello everyone, I'm trying to get Oauth signing to work, as the title suggests I works fine using the emulator, but I get a 401 back when using an actual phone. It's as though the header is being stripped?Any help or debugging tips much appreciated - code snippet follows:OAuthConsumer consumer = new DefaultOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET);consumer.setTokenWithSecret("", "");connection = (HttpURLConnection)url.openConnection();connection.setRequestMethod("GET");connection.setDoOutput(true);connection.setDoInput(true);connection.setUseCaches(false);connection.setAllowUserInteraction(false);connection.setRequestProperty("Content-Type", "application/json");try {consumer.sign(connection);}catch (Exception e) {}connection.connect();responseCode = connection.getResponseCode();
>> > To post to this group, send email to signpost-users@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > For more options, visit this group at
>> > http://groups.google.com/group/signpost-users?hl=en.
>>
>>
>>
>> --
>> -Matthias
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Signpost users" group.
>> To post to this group, send email to signpost-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> For more options, visit this group at
>> http://groups.google.com/group/signpost-users?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Signpost users" group.
> To post to this group, send email to signpost-users@googlegroups.com.
> To unsubscribe from this group, send email to
good to hear it's working now!
-Matthias
(sent from my mobile. through a series of tubes.)
To view this discussion on the web visit https://groups.google.com/d/msg/signpost-users/-/5fqYd6XoAMoJ.
To post to this group, send email to signpos...@googlegroups.com.
To unsubscribe from this group, send email to signpost-user...@googlegroups.com.