Search video through Facebook Open Graph API - facebook

I know we can search for public objects such as post, event, checkin in Open Graph API using:
https://graph.facebook.com/search?q=QUERY&type=OBJECT_TYPE
However I can not search for video objects.
Is there a way to search for videos in facebook using their title or description?

You can search videos using some attributes via FQL: http://developers.facebook.com/docs/reference/fql/video.
Unfortunately, the title and description are not among those...

Related

how to get facebook shares, comments, like count for youtube videos?

I know how to query the social engagement counts for a regular website. It can be pretty easily achieved with the facebook graph explorer (https://developers.facebook.com/tools/explorer/) or throug api's. As path I supply the url of an object, e.g. an website e.g. https://developers.facebook.com/tools/explorer/?method=GET&path=http%3A%2F%2Fwww.manuelfink.de&version=v2.0
However if I try the same for a youtube movie https://developers.facebook.com/tools/explorer/?method=GET&path=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DBpxVIwCbBK0&version=v2.0 it allways returns me the shared count of https://www.youtube.com/watch.
Is it possible to get the facebook shared/likes count for an youtube movie?
Thx, I really appreciate your help!
For share and like count, I think you can find an answer in the following questions on SO:
Get top videos on facebook/twitter, which is based on
How do you get the total likes for a URL (Likes and Shares)?, and
How to get share counts using graph API. Remember that a Youtube video has more than a possible url, so you may have to make several queries with different urls for the same video. I am not sure you can get the comments, but you can try with how can I get all comments from a url in facebook?

Retrieving public videos through Graph API

We are using the Facebook Graph API to search for Public Posts as per the following query:-
"https://graph.facebook.com/search?q=" sSearchText
We have found that this query is currently returning only public posts related to status updates. It is not returning posts which contain videos. Could you kindly let us know as to how we can retrieve the same?
You need to use FQL as opposed to the Graph API. Details on how to query Facebook for video objects can be found at the link below:
https://developers.facebook.com/docs/reference/fql/video
See this existing question for more details: Facebook Graph API and videos

Show tagged images from facebook on website?

I am trying to achieve similar functionality to the one shown here...http://blackmilkclothing.com/collections/leggings/products/circuit-board-grey-leggings
there fan page https://www.facebook.com/blackmilkclothing allows people to hash tag a photo and then populate it on their website like the link above.
Loading a series of tagged images from my facebook fan page to my website. I am not positive how this is acheived? I am assuming some kind of api process but any help in the right direction would be appreciated.
Thanks! All help is appreciated
See the 'tagged' connection of a Page in the Graph API: https://developers.facebook.com/docs/reference/api/page/
It returns a list of objects the page is tagged in, including photos
If you need background knowledge I suggest these links in particular:
Graph API overview: https://developers.facebook.com/docs/reference/api/
Page login: https://developers.facebook.com/docs/authentication/pages/
After a good bit of trial and error I've found the most efficient way to query photos tagged to a particular Facebook page is to use Facebook's FQL interface to retrieve a list of stream posts.
With FQL you can limit the queried objects to only those posts containing images (unlike with the higher-level Graph API calls which will return all posts, many of which may not have associated photos), and you'll also have more granular control over composition of the result set.
Keep in mind that Facebook doesn't have true hashtag support (only Facebook pages can be tagged), so to simulate the hashtag support that Black Milk Clothing encourages, you'll need to parse and filter the photo message text yourself.
As an alternative quick and easy solution, I've rolled the results of my efforts into a free online service called TagTray -- with TagTray I've added an interface for building and curating hashtag based galleries from Facebook, Instagram, and TwitPic (including application-level Facebook hashtag filtering) that can be framelessly embedded into a site with a few lines of JavaScript.

Tag a photo with static text using facebook graph api

How to tag a photo with static text using facebook graph api ? I have tried lot but could not get a respective answer yet.
I have tagging with userid its work fine.I want to tag a photo with static text.Is it posssible ?
Thanks in advance.............
According to the Graph API docs, photos on Facebook have no pure text tags. The only object you can tag to a photo is a Facebook user.

What is the API for Facebook 'profile stream' aka wall posts?

Is there an API call, and if so, which call to get the 'posts to my wall from myself and others' on Facebook? It seems like it could be filtered out of the Facebook stream API, but it's not clear how that works to me.
This link seems to imply it's possible:
http://developers.facebook.com/news.php?blog=1&story=225
You want to do an FQL query like this:
SELECT actor_id, message FROM stream WHERE source_id = <user id> limit 50
You will probably want to select a few more fields, you can see what is available here: http://wiki.developers.facebook.com/index.php/Stream_%28FQL%29
Here it is.
Profile feed (Wall): https://graph.facebook.com/me/feed?access_token=...
https://developers.facebook.com/blog/post/465
You can publish stories to people who like your Open Graph Page the same way you write a Facebook post from your own wall. The stories appear in the News Feeds of people who have clicked the Like button on the Open Graph Page.
You can also publish using our API. If you associate your Open Graph Page with a Facebook app using the fb:app_id meta tag, you can publish updates to the users who have liked your pages via the Graph API.
First you need to get an access token for your app.
Check out the blog post, it covers everything you need.