# Facebook login fails because access token is invalidated after 90 days?

**URL:** https://meta.discourse.org/t/facebook-login-fails-because-access-token-is-invalidated-after-90-days/86647
**Category:** Support
**Created:** [5월 2, 2018, 10:46오후 UTC](https://meta.discourse.org/t/facebook-login-fails-because-access-token-is-invalidated-after-90-days/86647 "2018-05-02T22:46:08Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [5월 2, 2018, 10:46오후 UTC](https://meta.discourse.org/t/facebook-login-fails-because-access-token-is-invalidated-after-90-days/86647/1 "2018-05-02T22:46:08Z")

</div>

I’m seeing the following on both my instance and meta:

 ![28](https://global.discourse-cdn.com/meta/original/3X/7/2/725e0c5b21354d83ca6b8514e02d7925474a817f.jpg)

Possibly an issue with Discourse – or perhaps Mr Data Accumulator made a breaking change?

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/3/4312d19eb4a3aa5aac0333a4fa27582154da0ada.jpg)

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [5월 2, 2018, 10:58오후 UTC](https://meta.discourse.org/t/facebook-login-fails-because-access-token-is-invalidated-after-90-days/86647/2 "2018-05-02T22:58:07Z")

</div>

The error message that I’m seeing is:

> The access token is invalid since the user hasn’t engaged the app in longer than 90 days

Does this sound correct for your case?

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [5월 2, 2018, 11:08오후 UTC](https://meta.discourse.org/t/facebook-login-fails-because-access-token-is-invalidated-after-90-days/86647/3 "2018-05-02T23:08:08Z")

</div>

Thanks @simon

I see the same error in my instance logs (and not just for my login attempts…)

I use my instance and meta on a daily basis, and am pretty sure I have logged into both via facebook within the last three months.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [5월 2, 2018, 11:15오후 UTC](https://meta.discourse.org/t/facebook-login-fails-because-access-token-is-invalidated-after-90-days/86647/4 "2018-05-02T23:15:42Z")

</div>

It seems to be a recent issue [https://developers.facebook.com/bugs/194772814474841/](https://developers.facebook.com/bugs/194772814474841/).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [5월 2, 2018, 11:38오후 UTC](https://meta.discourse.org/t/facebook-login-fails-because-access-token-is-invalidated-after-90-days/86647/5 "2018-05-02T23:38:08Z")

</div>

Simon, I am unclear where this “90 days” rule applies..

- to the user’s Facebook account perhaps, as in “this user hasn’t logged into facebook in 90 days”?

- to the login method, as in, “this user hasn’t used Facebook to log into this site in 90 days”?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [5월 2, 2018, 11:44오후 UTC](https://meta.discourse.org/t/facebook-login-fails-because-access-token-is-invalidated-after-90-days/86647/6 "2018-05-02T23:44:14Z")

</div>

When I read the error I understood it as the user not having logged into their facebook account for 90 days, but it seems that it’s saying that the user hasn’t logged into the app (Discourse) for 90 days. There are more details here:

> <https://stackoverflow.com/questions/50124462/facebook-graph-api-rejects-newly-created-access-token>

> **[Developer Platform](https://developers.facebook.com/documentation/facebook-login/guides/access-tokens/get-long-lived)**

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [10월 12, 2020, 2:37오전 UTC](https://meta.discourse.org/t/facebook-login-fails-because-access-token-is-invalidated-after-90-days/86647/7 "2020-10-12T02:37:36Z")

</div>


