Getting all of my own video links with vimeo API - vimeo-api

I want to perform a very specific task through vimeo api. Can anyone tell if it's possible? And if so, how can I do that?
I want to get all the links for the videos that I've uploaded on my vimeo account whether public / private / password protected. And also, is it possible to get the download links of the videos through the api?

Make an authenticated GET request to https://api.vimeo.com/me/videos. I would recommend also using the fields parameter on the request, as the response can be quite large if you have many videos on your account.
The /me/videos endpoint is documented here (make sure you're logged into your Vimeo account).

i think it is very easy.
you should take a look
https://api.vimeo.com/users/{user_id}/videos
https://api.vimeo.com/me/videos
this two are the way to get all videos

Related

graph api to get list of video uploaded on facebook via share dialogue

I need a list of videos uploaded via share dialogue by the user using my app. I can't see any app-specific data added to the video in graph API, however, uploaded videos on Facebook does have the tag of my app when they get added to the feed. I want to track videos uploaded by the user using my app's share dialogue. Can anyone point me in the right direction to achieve this?
This is not a supported feature by the Facebook API. So there is no way to get this done without help from the Facebook team.

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

Displaying Own Data Using OAuth2 and Google APIs with No Login

I am trying to build an application with ColdFusion.
I've been reading documentation and trying things out for days and for the life of my I can't seem to figure out how to display my own data to users from Google's APIs using OAuth2.
For example, I want to be able to display some of my stats to users with the Google Analytics API. How many unique hits, page views my site gets and from what countries. The data is private, however, so there isn't a way to do so. Or YouTube just changed their API so video tags can no longer be seen unless logged in. I want to be able to show my video tags so they can search for related things on my own site, but I can't pull them because I'm unsure of how to do this.
I know how to display and manipulate public data, but when it comes to private data, I'm at a complete loss. OAuth2 is kicking my butt!
Is there anybody that can please, please help me with OAuth2 so that I can allow my users to see my private Google data without there being any kind of log in process for them? Examples using ColdFusion would be so much appreciated.
The answer is more or less what I said at How to retrieve my own private playlist through YouTube API?
You'd want to use the OAuth 2 for Installed Applications flow, and generate new access tokens via your refresh token when your old access token expires. I'm not familiar with any libraries for doing OAuth 2 in Cold Fusion, though.

HTML5 Canvas to Facebook

I've made a basic HTML5/JS comic creation tool that uses the canvas element.
I want users to be able to upload their comics via the Facebook API.
I don't believe Facebook allows posting images in the form of base64 strings from the canvas.toDataURI() method, and don't want to use my own server to convert these images & temporarily store them.
What's the best way to go about this? Possibilities I've wondered about: Convert canvas to blob? Store blob via web service (if so, suggestions?) Upload blob directly to Facebook? (Is that possible?)
I don’t see why this should not be possible doing a „normal” upload. You can create a new photo for a user by posting to PROFILE_ID/photos, with a source parameter of type multipart/form-data.
So first thing I’d try is getting the picture info from the canvas object into a „normal” form (writing it into a input element in the right format(?)), and sending that to Facebook. If this step succeeds, I’d see if jQuery or some other lib’s form.serialize method can build requests of type multipart/form-data. If that’s also possible, then there should be no further problem in taking the data in that format and posting it using FB.api (although you might want to tell your users to be patient, because that might take a while).
Can’t tell for sure if this’ll work, but I’d give it a try.
Facebook partners with Heroku for free app hosting, you can use it as the temporary server.

Upload a Cover (PHP)

Anybody know how to upload a profile cover? Not a Album cover but a profile cover for the new timeline? Any help is much appreciated.
Maybe Facebook will roll out a specific API for that in the future, but so far the only way is to upload the photo via the photo API and then ask the user to choose it as his cover...
To upload a photo use a HTTP POST to https://graph.facebook.com/ALBUM_ID/photos (as seen on http://developers.facebook.com/docs/reference/api/)
There's no API for this just yet.