How to integrate with FB Messenger?

Please help with get Access Token Page

I created app, and i have app token and user token. But how can i create Page Token??

looking at metas mess of stuff

Use the Graph API Explorer or make a direct API call to get the Page Token.
The request looks like this:

GET /me/accounts?access_token=<USER_ACCESS_TOKEN>

Let me know if this works? or if you need more info.

My step now

  1. Create a Meta for Developers account (as Developer role)
  2. Create App (type Other / Business)
  3. Create new page
  4. Setup Messenger for App (and connect to this page)
  5. Generate token for this page (by graph)
  6. add to yaml
  - name: fb
    platform: facebook
    page_access_token: token

And where I can check this point:
The phone number used in **target** should be registered with Facebook messenger.
?
Because i run autmoation like this

alias: New automation
description: ""
triggers: []
conditions: []
actions:
  - action: notify.fbmessage
    metadata: {}
    data:
      message: test
      target: '+48602xxxxxx'
mode: single

and nothing happened

I see error in logs:
* Error 400 : Error validating access token: Session has expired on Monday, 09-Dec-24 03:00:00 PST. The current time is Monday, 09-Dec-24 10:38:41 PST. (Code 190)

Is this token valid for a few minutes or what?

And after generate new token:

Error 400 : Unsupported post request. Object with ID 'me' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api (Code 100)