Posts tagged with instagram

I am using Meta graph api https://developers.facebook.com/docs/instagram-api/guides/content-publishing/#reels-posts

and it is working fine for publishing reels immediately.

I don't see in the documentation of any mention of how to schedule the reel at a particular time. (In contrast, you can do this for facebook reels by using scheduled_publish_time

I read online that this should be possible for Instagram as well https://business.instagram.com/blog/instagram-api-features-updates

Question Can you guide me with one example of how to schedule Instagram reel via API ?

Two more optional ones

  1. (Optional) Can I upload video from my local to instagram ? In the docs they require video_url, but for facebook api I can also upload data from local file
  2. (Optional) Is it possible to cross-post in instagram-facebook, same way we can do via Meta Business Suite

Thanks in advance

I'm using official Facebbok API for getting ads with /ads_archive endpoint.

Example request:

curl -G \ -d "search_terms='oil'" \ -d "ad_reached_countries=['US']" \ -d "fields=id,ad_creation_time,ad_creative_bodies,ad_creative_link_captions,ad_creative_link_descriptions,ad_creative_link_titles,ad_delivery_start_time,ad_delivery_stop_time,ad_snapshot_url,age_country_gender_reach_breakdown,beneficiary_payers,bylines,currency,delivery_by_region,demographic_distribution,estimated_audience_size,eu_total_reach,impressions,languages,page_id,page_name,publisher_platforms,spend,target_ages,target_gender,target_locations" \ -d "access_token={ACCESS_TOKEN}" \ "https://graph.facebook.com/v19.0/ads_archive" 

Response does include Facebook Page ID. It also includes publisher_platforms field containing Instagram or/and Facebook. But no Instagram ID or username.

I find it weird, because web version of Ad Library (running under private API) shows that data. Example link

How can I get Instagram username using Official Ad Library API?

I've already passed all fields from Archived Ad Schema to my request.

Scraping private API seems hard, because it seems sensitive to proxies.

Currently in the developing stages of a web app that will allow users to connect their Instagram & Facebook via OAuth then enable an automation that will send new IG posts to their Facebook.

Is there an IG Graph Webhook available for this? Or will I need to set up an API call from my app to watch for the new posts.

I also have an app created & verified with Meta already as a business app. I'm wondering if this was the right decision to create it as a business or should it be a consumer app.

When subscribing to a webhook, I was not able to locate anything to subscribe to 'new posts'.

If the next option is to set up an API call to watch for new posts for every 'x' amount of minutes is there an endpoint and headers that is provided in the docs to set this up?

Any other avenues on how to successfully get this feature up would be greatly appreciated!