Idea

Dylan Hunt avatar image
Dylan Hunt suggested

New Client call/params to get new FB token

1) New Client call to get a fresh FB token

2) New optional login and getfriends parameter: refreshFBToken

Currently the way to refresh your FB token is by logging in via FB. Well, what if it's just a link and they login with Steam? Or Twitch? Or email?

This means as soon as they are logged in, you need to immediately call LoginWithFacebook. This is not very intuitive.

To resolve this, I propose we could have a call to get a new FB token for authenticated sessions. To prevent multiple calls for situations like getting friends list, we could also have a parameter for RefreshFBToken or RefreshFBTokenIfExpired would be ideal.

This will prevent multiple calls (a temp workaround would probably be to login via fb via cloud code for a login?). It also is more logical. Moreover it should probably be explained in the docs for newbies that sessions expire and to use LoginWithFacebook to reAuth. Who would know if they just use fb for friends list :)

apisAuthenticationFriends
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

No Comments

·

Write a Comment

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.