[Twitter Connector] NoAccessTokenException

Forge Component
Published on 2018-12-10 by OutSystems R&D
4 votes
Published on 2018-12-10 by OutSystems R&D

I downloaded the connector and tried to integrate it in my project. the instructions in the TwitterConnectorDemo Documentation were clear but still i am having this error? will this not work on my personal cloud?


My Bad, I did not see the tweak inside the internal error page :)
Hey there, John,

Glad you worked it out on your own!

Could you share what tweak was it that made it work for you?
Hi Carlos,

First off is the internal error page in the common screen flow needs to be able to catch notokenexception error thats why i placed the "HandleNoAccessTokenException" from the twitter connector inside the common web flow.

Next is the webscreen "Internal Error" itself needs to have a boolean that would indicate if the error is because of the "Token" so i put a variable to store the value. 

Then i add a preperation for the webscreen with an IF that catches the notoken error
"Session.ExceptionMessage = "NoFacebookAuthorizationCodeException"
and if the error is true then i place a 'true' value in the boolean variable so that the screen would show a link that would require the user to log in first.

i hope this helps others with the same problem :)
and same is true with facebook connector
Awesome! Thanks for the insight!