Publish_actions

when I request to post an image and message in postman, I got this exception.
{
“error”: {
“message”: “(#200) The permission(s) publish_actions are not available. It has been deprecated. If you want to provide a way for your app users to share content to Facebook, we encourage you to use our Sharing products instead.”,
“type”: “OAuthException”,
“code”: 200,
“fbtrace_id”: “A0OqNnzdPnsDWOhxBYW7sl3”
}
}

Please check the format of request url. It’s incorrect. Also check whether you are sending both params and data while making request.
Also make sure you have appended the right page_id in the API request URL

I checked my page_id and i’m using my long-term-access-token.
And pass in url, context, access_token in json format as data in request.
req url format is “https://graph.facebook.com/v6.0/”+ self.page_id +"/photos"

Please guide me through this…

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.