Can we list all videos in vimeo databse through api? - vimeo-api

Is it possible to get a list (csv/xls) of all the videos on the account through the api?

GET https://api.vimeo.com/videos
This method returns all the videos that match custom search criteria.
You can learn more methods in this link from Vimeo Documentation

Related

Fetch a random photo from Google Photos with API

I want to write an app that fetches a random photo from my Google Photos set of photos using the Google Photos API. This is the new Google Photos, not the old one that was linked to a Google Drive.
In my review of the API Docs, it seems that you can list albums, and perhaps list what the albums contain, but it's not obvious to me how to download a photo itself. Can anyone figure it out?
Try with this API: https://developers.google.com/photos/library/reference/rest/v1/mediaItems/list
It lets you list the photos from your library and returns two parameters, productUrl and baseUrl, that you could use to get the photo.

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

How to search within videos of a single user with Youtube API?

I am building a music video streaming website with the Youtube API, whereby I will upload all my videos by my account and get my own videos with the user-specific feed.
I would like to know if it's possible and how to search within videos uploaded by a user, i.e. the search should return results containing only videos I uploaded.
Thanks!!!
Assuming you're using v1/v2 of the YouTube Data API, the relevant parameter to add to your search query is author=USER, where USER is either a YouTube username or a YouTube channel id.
This is documented at https://developers.google.com/youtube/2.0/reference#authorsp

Search photo & videos from facebook

Can we search public photos & videos from facebook by tags as input perameter as we do in flickr using the tags we search photos and flickr API returns list of photos.
Any help or suggestion would be greatly appriciated.
Thanks
Gaurav
last time I checked, photos uploaded to Facebook do not have tags. Therefore, it isn't possible to return photos that match a tag. What you could do, is search for groups or apps on Facebook and then retrieve the public photos there.
The search URL format is https://graph.facebook.com/search?q=watermelon&type=post&access_token=AAAAAAITEghMBAHwKSuFoX7OpcyCezYGO1JkVzBaQq6fBdXoHPayxZCxta4EZC0fYSLPjO16Yf9FKOAkhOHrU2ROZCZB9fcbLsDtPFgy67dK5TXOeYJqG, where q is your query. More info can be found here. https://developers.facebook.com/docs/reference/api/
Here is an app that allows you to search facebook photos!
The below api query will return everything that has that object_id tagged.
https://graph.facebook.com/[object_id]/tagged
An example of this would be looking for everything tagging Heat Ultra Lounge (a project I'm working on). To get the objects tagged with this tag, I would use the below get address and include &access_token=[my or my app's access token]. Like so:
https://graph.facebook.com/118613151504271/tagged?access_token=[youraccesstoken]

Get videos shared by friends on Facebook

I am trying to extract all videos shared by my friends on Facebook (not only Facebook videos but also videos from other sources like YouTube, Vimeo etc). I have gone through the Facebook Graph API documentation and it only explains a way to extract videos in which the user tagged.
Can I get some pointers/references on how to investigate this?
Links shared by users also contain videos. You can traverse through links and find links which conatin youtube.com or vimeo.com. You can use regularexpressions to extract unique youtube ID