Hi,
Does anybody know if the facebook plugin has a way to check if the session token is still valid? Im trying to avoid having to login to facebook every time my app loads up / i want to make a request - for me I get the blue screen flash up all the time which is a bit annoying…
I was thinking that I could check if the session is valid and if it is then I can just skip over the facebook login part and just call whatever request I want e.g. get friends list.
If however, If the session wasnt valid then I would call log in, followed by my request e.g. get friends list
I guess I could compare the expiry times and do it that way too…
Why I am not sure is because all the examples I see in corona always call login before doing any kind of api request.
How are other people handling this? maybe there is a technical reason why we have to always log in first?
Thanks