I have connected to facebook to retrieve data using REST connector. But the access token is valid only till I am logged in with facebook. As soon as I log out, it becomes invalid. When I try to reload the data it gives an error that user is logged out. Could you please help me on this.
To retrieve data, you have to make an app in the Meta Developer portal and add a product (for example: 'Marketing API'). Besides, The Meta Developer portal app can have multiple users. There need to be at least 1 user who has access to the Meta Business Suite to retrieve data.