You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am Suspecting this line : TwitterTemplate twitterTemplate = new TwitterTemplate(oauthToken);
As per code debug, to do any operations on timelineOperations, we need authorozation and its coming false now.
Hi
Using the exact code and i am getting below exception for Twitter Status update/springSocialCallback in TwitterController Class
@ line :
timelineOperations.updateStatus("Hello Twitter Social plugin!");
exception:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.social.NotAuthorizedException: Invalid or expired token.
root cause:
And also below is printing "false"
System.out.println("isAuthorized :: " + twitterTemplate.isAuthorized());
Can u plz do the needful help ?
Regards
Ecomse
The text was updated successfully, but these errors were encountered: