Facebook Graph API. How to delete Video? - facebook-graph-api

I followed this page https://developers.facebook.com/docs/graph-api/reference/video
The video deleting is required access token with publish_actions.
But the publish_actions permission has been deprecated.
When I try to delete a video it return me an error:
"(#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."
Is it possible to delete video using facebook graph api?
PS: also, could not find how to delete video in facebook's asset library. It looks like it is not possible to delete any video.

Related

How can I get creatives(ads post) from facebook?

How can I get all ads posts from Instagram and Facebook?
Facebook Library ads allow to get only POLITICAL_AND_ISSUE_ADS.
Facebook graph api doesn`t allow to get creatives from other accounts.
May there be another ways? Or can I get some permission for it?

How to delete Instagram posts using API

I want to delete a specific post on Instagram with JavaScript using API
I tried how to remove a post from the following document.
https://developers.facebook.com/docs/graph-api/reference/v13.0/post#deleting
but, I got the following error.
Unsupported delete request. Object with ID '{post_id}' 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
Instagram does not yet support delete via their API. Please see the content publishing API.

Required Graph API Permissions to get my own instagram posts

I am completely lost as to what permissions I should apply for in App review for getting my own Instagram posts through Facebook's Graph API.
I did the basic steps for using the API: I made my Instagram account a business one, and linked it to my Facebook page, it seems that to use Instagram graph API I must apply for app review, which I want to do, except I don't know which permissions to apply for.
My only purpose is to retrieve my own account's photos/posts, there are so many permissions available to apply for, do I need all of these?
instagram_basic
instagram_content_publish
instagram_manage_comments
instagram_manage_insights
Or just some of them? Are there other permissions I need for my purpose?
I would appreciate any help, I've been losing my mind over this for over 2 weeks now, and I can't find any other answers that are recent or relevant.
So if you just want to get the media objects of an IG user, then instagram_basic and manage_pages permission will be sufficient.
However, if you also want to access the insights data of your media (e.g. impressions, reach, etc.) then you need the instagram_manage_insights permission as well.

FB does not allow using FB share dialog with Posting through Graph api

Whe I am trying to get permission for publish_actions for my facebook app, it asks few points. One of those points is -
My app does not use the Facebook Feed Dialog or the Facebook Share Dialog to publish content
This means that If I want to get the publish_actions permission for using graph api to post on a user's wall I will have to remove all the FB share dialogs used in every place of my site.
After reading above I decided not to use publish_actions permission at all. But then I got a chance to look into change.org website. They are actually using both kynd of sharing. On the campaigns, they post to your wall via Facebook Graph API and on their blogs they are using facebook share dialog. So I am bit confused that can we use both simultaneously or not? And if not, how the change.org is able to do it?

Search for Facebook Live Videos via Graph API

Is it possible to search for Facebook Live Videos through the Graph API?
The Facebook Live Video API is all about publishing video, which is not what I want. I have looked through the search API and there does not seem to be any obvious way to search for videos through it.
What I would really like to do is find a list of live videos in a given area.
Unfortunately, no. Not at this time.
You can get videos for individual users if they authorize your app, but that's it.
I have successfully used the Graph API via javascript SDK to view my live_videos using a user token with scope: email, public_profile provided they were created with a privacy setting to PUBLIC (using FMLE). If I create a stream with Wirecast, it starts as ONLY_ME and is not accessible via the API. HTH