Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark attachment as not accessible due to "privacy rules in Europe". #1120

Closed
nbartels opened this issue Feb 3, 2021 · 0 comments
Closed
Assignees
Milestone

Comments

@nbartels
Copy link
Contributor

nbartels commented Feb 3, 2021

There some new privacy rules in Europe and Facebook don't allows the API to access every attachment. We have to mark these attachment so it is much more easy to detect them and react.

https://developers.facebook.com/docs/messenger-platform/europe-updates

Example of the returned JSON:

"attachments": {
   "data": [
     {
       "id": "1234",
       "name": "Media not available due to new privacy rules in Europe. See developer documentation for more info"
    }
        ],
        "paging": {
          "cursors": {
            "before": "MAZDZD",
            "after": "MAZDZD"
          },
          "next": "https://graph.facebook.com/v7.0/<stuff>"
        }
      }
@nbartels nbartels added this to the 3.14.0 milestone Feb 3, 2021
@nbartels nbartels self-assigned this Feb 3, 2021
@nbartels nbartels closed this as completed Feb 3, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant