1
votes

When I call the endpoint:

https://graph.facebook.com/oauth/access_token?client_id=clientID&client_secret=secretKEY&grant_type=fb_exchange_token&fb_exchange_token=VALIDACESSTOKEN

I get this answer:

access_token=NewACCESSTOKEN&expires=6271

What is the unit of the expire time? Seconds? Hours?

Thanks in advance.

2

2 Answers

2
votes

It's in seconds before it expires.

0
votes

i think it is in seconds. according to their docs it is around 60 days. i got expiry time of 5152380. which comes out ~=60'