Doubt

4 views
Skip to first unread message

Shivam Verma

unread,
Sep 14, 2013, 10:05:34 PM9/14/13
to privly...@googlegroups.com
Hey, 

I am working on integrating the twitter4j Library with android for quite sometime now. But there's a very stupid error which doesn't seem to go. 

This is just a sample application I made. 

Line 80: 

Line 96: 

The values for requestToken.toString() is different even though there's no code which could change the value. 

Any inputs ?

Thanks. 

--
Shivam | +91 7507632590
4th Year, Information Systems
BITS-Pilani, Goa Campus.

Sean McGregor

unread,
Sep 15, 2013, 5:24:13 PM9/15/13
to Shivam Verma, privly...@googlegroups.com
Have you tried removing lines 82-84? Maybe `getOAuthAccessToken` has
side effects.

-Sean
> --
> You received this message because you are subscribed to the Google Groups
> "privly-mobile" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to privly-mobil...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



--
Sean McGregor

Oregon State University, Department of Computer Science
Twitter: seanmcgregor
irc.freenode.net: smcgregor

Shivam Verma

unread,
Sep 15, 2013, 5:30:29 PM9/15/13
to Sean McGregor, privly...@googlegroups.com
Hey Sean, 

82 - 84 needs to be there. Anyways, I took a different approach to the problem.  
I am able to fetch tweets from a user's timeline now. Finally. 
Will send a pull request in another few hours. Twitter Integration is almost complete :)

Regards.

Sean McGregor

unread,
Sep 15, 2013, 5:43:11 PM9/15/13
to Shivam Verma, privly...@googlegroups.com
Excellent!

The aim of removing those lines was investigative, not a solution. If
the variable was no longer changing after removing that function, you
would know what the problem is. Routing around the issue is just as
good.

-Sean

Shivam Verma

unread,
Sep 15, 2013, 5:44:33 PM9/15/13
to Sean McGregor, privly...@googlegroups.com
Yeah, I do understand. But they had to be there anyhow, and I wasn't able to fix it so just routed around. 
Reply all
Reply to author
Forward
0 new messages