Pull API \ Retrieve the videos published on a Facebook group

Resource/URI GET
Facebook · Retrieve a user's likes /pull/identities/<identity_token>/facebook/likes.json Retrieve Likes
Facebook · Retrieve a user's posts /pull/identities/<identity_token>/facebook/posts.json Retrieve Posts
Facebook · Retrieve a user's groups /pull/identities/<identity_token>/facebook/groups.json Retrieve Groups
Facebook · Retrieve a user's group posts /pull/identities/<identity_token>/facebook/group/<pageid>/posts.json Retrieve Group Posts
Facebook · Retrieve a user's pages /pull/identities/<identity_token>/facebook/pages.json Retrieve Pages
Facebook · Retrieve a user's page posts /pull/identities/<identity_token>/facebook/page/<pageid>/posts.json Retrieve Page Posts
Facebook · Retrieve a user's page post reactions /pull/identities/<identity_token>/facebook/page/<pageid>/posts.json Retrieve Page Post Reactions
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
Pinterest · Retrieve a user's board pins /pull/identities/<identity_token>/pinterest/board/<boardid>/pins.json Retrieve Board Pins
Pinterest · Retrieve a user's pins /pull/identities/<identity_token>/pinterest/pins.json Retrieve Pins
Steam · Retrieve a user's games /pull/identities/<identity_token>/steam/games.json Retrieve Games
Twitter · Retrieve a user's followers /pull/identities/<identity_token>/twitter/followers.json Retrieve Followers
Twitter · Retrieve a user's followings /pull/identities/<identity_token>/twitter/followings.json Retrieve Followings
Twitter · Retrieve a user's tweets /pull/identities/<identity_token>/twitter/tweets.json Retrieve Tweets
Twitter · Retrieve a user /pull/identities/<identity_token>/twitter/user.json Retrieve User
YouTube · Retrieve a user's channels /pull/identities/<identity_token>/youtube/channels.json Retrieve Channels
YouTube · Retrieve a user's playlists /pull/identities/<identity_token>/youtube/playlists.json Retrieve Playlists
YouTube · Retrieve a user's playlist videos /pull/identities/<identity_token>/youtube/playlist/<playlistid>/videos.json Retrieve Playlist Videos
YouTube · Retrieve a user's channel sections /pull/identities/<identity_token>/youtube/channel/sections.json Retrieve Channel Sections

Workflow

Request: the code to send to the API

Send an API request to this endpoint to retrieve the videos that have been published on a Facebook group:

GET /pull/identities/<identity_token>/facebook/group/<group_id>/videos.json

The <identity_token> is obtained whenever one of your users connects using Facebook. The <group_id> must be part of the groups that the identity is currently configured to be an administrator of.

The following URL parameters can optionally be used with this endpoint:

URL Parameter Description
num_videos
integer
Indicates how many videos should be included in the resultset. The valid range is between 1 an 200.
Default: 50
page
integer
Indicates the page that should be retrieved. To paginate the resultset, simply start with page 1 and make subsequent requests to this endpoint while incrementing the page number with each call.
Default: 1

In order to use this endpoint the permission Publish To Group must be enabled in the Facebook settings in your OneAll account and the user must have granted this permission when he logged in with Facebook. You can use our Pull API to retrieve the groups of an identity.

Result: the code returned by the API

Response Example

{
  "response": {
    "request": {
      "date": "Wed, 30 Jan 2019 09:04:33  0100",
      "resource": "/pull/identities/zad114d15-096b-459f-a90b-2azd12zad1515/facebook/group/145437213572676/videos.json",
      "status": {
        "flag": "success",
        "code": 200,
        "info": "Your request has been processed successfully"
      }
    },
    "result": {
      "data": {
        "count": 1,
        "entries": [
            {
                "id" : "1143044616038620",
                "canonical" : "1143044616038620",
                "url" : "https://www.facebook.com/groups/145437213572676/permalink/162386981877699/",
                "description" : "My Video",
                "thumbnail" : "https://scontent-cdg2-1.xx.fbcdn.net/v/t15.5256-10/p168x128/96118768_1143044806038601_6505833150776606720_n.jpg?_nc_cat=102&_nc_sid=ed1892&_nc_ohc=KVdNC0y7DMIAX-3lSDb&_nc_ht=scontent-cdg2-1.xx&_nc_tp=6&oh=fe942f549ddf384114133d80bb4fbb06&oe=5ED85DB0"
                "source" : "https://video-cdg2-1.xx.fbcdn.net/v/t39.24130-2/95871358_271799160621159_3490563168896175253_n.mp4?_nc_cat=107&_nc_sid=985c63&efg=eyJ2ZW5jb2RlX3RhZyI6Im9lcF9oZCJ9&_nc_ohc=806AA1JHYh8AX_i6fYG&_nc_ht=video-cdg2-1.xx&oh=33b3c277ba4c07360716f022a327e89f&oe=5ED6B44A",
                "length" : "15.138",                
                "date_created" : "Tue, 05 May 2020 14:48:07 +0200",
                "date_updated" : "Tue, 05 May 2020 14:48:33 +0200",
                "is_published" : true,
                "is_instagram_eligible" : true
            }
        ]
      }
    }
  }
}

User Contributed Notes