Pull API \ Retrieve the videos of a YouTube user

Resource/URI HTTP GET
Facebook · Retrieve a user's likes /pull/identities/<identity_token>/facebook/likes.json Retrieve
Likes
Facebook · Retrieve a user's pages /pull/identities/<identity_token>/facebook/pages.json Retrieve
Pages
Facebook · Retrieve a user's posts /pull/identities/<identity_token>/facebook/posts.json Retrieve
Posts
LinkedIn · Retrieve a user's companies /pull/identities/<identity_token>/linkedin/companies.json Retrieve
Companies
LinkedIn · Retrieve a user's company posts /pull/identities/<identity_token>/linkedin/company/<companyid>/posts.json Retrieve
Company Posts
Pinterest · Retrieve a user's boards /pull/identities/<identity_token>/pinterest/boards.json Retrieve
Boards
Steam · Retrieve a user's games /pull/identities/<identity_token>/steam/games.json Retrieve
Games
Twitter · Retrieve a user's tweets /pull/identities/<identity_token>/twitter/tweets.json Retrieve
Tweets
YouTube · Retrieve a user's videos /pull/identities/<identity_token>/youtube/videos.json Retrieve
Videos

Workflow

Request: the code to send to the API

Send a GET request to the endpoint /pull/identities/<identity_token>/youtube/videos.json to retrieve the videos of a YouTube user. The <identity_token> is obtained whenever one of your users connects using a social network account.

To be able to use this endpoint, YouTube must be fully configured for your OneAll Site. You can upload new videos on behalf of a user with our Push API.

Result: the code returned by the API

Response Example

{
    "response": {
        "request": {
            "date": "Mon, 12 Mar 2018 12:13:54 +0100",
            "resource": "/pull/identities/88888888-4444-4444-4444-121212121212/youtube/videos.json",
            "status": {
                "flag": "success",
                "code": 200,
                "info": "Your request has been processed successfully"
            }
        },
        "result": {
            "data": {
                "count": 2,
                "entries": [
                    {
                        "id": "B9jngPmmDGU",
                        "title": "Video title 1",
                        "description": "Video description 1",
                        "channel_id": "yHfeJkl3VRKqRC0gQkqhyyVg"
                    },
                    {
                        "id": "Edktpqsh8No",
                        "title": "Video title 2",
                        "description": "Video description 2",
                        "channel_id": "yHfeJkl3VRKqRC0gQkqhyyVg"
                    }
                ]
            }
        }
    }
}

User Contributed Notes