What is the use of __after_id in graph API urls?
I thought its an alternative to offset.
But some experimentation shows that __after_id doesn't have any role to play.
Anyone?
Related
I have scoured the docs and there is nothing that directly references a way to schedule instagram posts from the Graph API. With the Facebook API you can schedule a post by passing the scheduled_publish_time param, but the instagram API doesn't appear to have that option anywhere.
There are news posts from facebook saying "Instagram graph API now allows scheduled posts". Does this mean there is an actual facility in the graph API to schedule posts? Or is it just that instagram will allow you to implement your own automated scheduling logic and they won't get upset (because they used to)?
Looking for any information on how to schedule instagram image posts! (Hoping to avoid writing my own monolith)
I am trying to use the Instagram API for one of my projects. The task I'm trying to accomplish is getting popular hashtags based on an input keyword.
To elaborate a bit: when you're on Instagram, and start typing a hashtag, you get a popup with suggested hashtags related to what you're typing, sorted by popularity.
I'm trying to get these suggestions, but through an API call. Looking at the Instagram API docs, there is Hashtag Search as shown here, but this endpoint searches for posts which use the input hashtag, which is not what I want.
Another post suggested I have a look at Facebook Graph API instead, but again no luck there either.
I know this is possible to do as certain websites which provide services to schedule posts, like this one do it.
So, is there an endpoint in either Instagram or Facebook API that I've missed, or is there any third party API / tool that can accomplish this?
There is not currently any "trending" features as part of Instagram Graph API.
In Facebook Graph API v2.3 it was possible to get all links belong to specified page using "links" edge:
GET v2.3 {page_id}/links
This request shows really all links (not only published, which are accessible by /feed request). Graph API Explorer still can execute this request.
But all new Facebook applications can use only Graph API v2.7, not older. FQL also was deprecated at 08.08.2016.
So, how can I get all links from page (not only published) by Graph API v2.7 from my application? Even dirty hacks are appreciated, thank you.
Upd.: Links posts are promotable posts. They did not showed by /feed, only by /promotable_posts, which is necessary endpoint for my needs. I've found also a necessary parameter for this endpoint which shows really all links posts: include_inline.
So, final request is:
GET v2.7 {page_id}/promotable_posts?include_inline=true
GET /v2.4/{id}/links and GET /v2.4/{id}/statuses will no longer be available beginning in v2.4. As an alternative, we suggest using GET /v2.4/{id}/feed.
Source: https://developers.facebook.com/docs/apps/changelog
So you will have to use the feed endpoint and filter out links on your own.
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
I have had a crack at this on the Graph API Explorer, but it returns nothing, not even an error. I used the API endpoint save.saves as described here.
You referenced a link to the Open Graph stories section in the docs, that´s something completely different. Afaik there is no way to get access to the saved links with the Graph API, at least not at the moment. If they ever make it available, you will find the endpoint here: https://developers.facebook.com/docs/graph-api/reference/v2.5/user