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
Related
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
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.
We're trying to have users share 'articles' on a simple website into their timelines. Each article is associated with a video and we would like to use that video in the representation of the article in a users timeline. Now, I've read that linking to an mp4 via open graph meta tags isn't possible anymore. So I presume I should be using the graph api.
Could someone confirm that this is true?
And if so can you give a quick run down of the necessary steps achieve this?
Thanks
I have Google Photo public album and I want to receive direct links for photos form this album. This links I'll use on my blog web pages. How I can to do it?
P.S.: I know that Picasa Web Albums had this feature.
At this time Google actively changes its image service behavior. Now, there is not any algorithms how to receive direct and permanent links to your shared photos. The URLs are received by the right-button click, like https://lh3.googleusercontent.com/(LONGLONGCODE...)=w800-h600-no, are temporary and live one-two days and then will be closed.
You can try new Google service - Google Archive Album. This service was created as holder for albums from the deleted Picasa service. But it contains photos and albums from Google Photo too. The Google Archive Album have two greats advantages:
links are much shorter the from those of Google Photos,
this links are permanent!
For working with Google Archive Album you need to follow rules:
create standard (NOT PUBLIC) album in Google Photos.
go to Google Archive Album and make sure that you see the new album.
add to album required photos and only now change its type to the public by creating the shared link to it.
again go to Google Archive Album, open your album.
click on first photo.
right-clink on photo image and copy link to the clipboard.
insert received link where you need.
repeat steps 5-7 for others photos.
voilĂ !
But how long time Google Archive Album will working I don't know :(
P.S.: If you don't know - URL links from Google Photos and Google Archive Album can be tuned. For detail reads the special site.
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