Facebook Developers
DocsToolsSupportNewsApps
Log In
  • Social Plugins
  • Facebook Login
  • Open Graph
  • Facebook APIs
    • Graph API
    • FQL
    • Open Graph
    • Dialogs
    • Chat
    • Internationalization
    • Ads
  • Games
  • Media
  • Payments
  • App Center
  • Promote Your App
  • iOS
  • Android
  • Web
  • Technology Partners
  • Tables
    • album
    • app_role
    • application
    • apprequest
    • checkin
    • comment
    • comments_info
    • connection
    • cookies
    • column
    • developer
    • domain
    • domain_admin
    • event
    • event_member
    • family
    • friend
    • friendlist
    • friendlist_member
    • friend_request
    • group
    • group_member
    • insights
    • like
    • link
    • link_image_src
    • link_stat
    • location_post
    • mailbox_folder
    • message
    • note
    • notification
    • object_url
    • page
    • page_admin
    • page_blocked_user
    • page_global_brand_child
    • page_fan
    • page_milestone
    • permissions
    • permissions_info
    • photo
    • photo_src
    • photo_tag
    • place
    • privacy
    • privacy_setting
    • profile
    • profile_tab
    • profile_view
    • question
    • question_option
    • question_option_votes
    • review
    • score
    • standard_friend_info
    • standard_user_info
    • status
    • stream
    • stream_filter
    • stream_tag
    • subscription
    • table
    • thread
    • translation
    • unified_message
    • unified_message_count
    • unified_message_sync
    • unified_thread
    • unified_thread_action
    • unified_thread_count
    • unified_thread_sync
    • url_like
    • user
    • video
    • video_tag

video

API Reference › FQL › video

Description

An FQL table containing information about videos.

Columns

NameDescription

album_id

number

The ID of the album where the video belongs to

created_time

number

The date when the video being queried was added.

description

string

The description of the video being queried.

embed_html

string

The HTML code to embed the video.

format

array

An array of various video formats available with their embed_html code and resolution

length

number

The length of the video in seconds.

link

string

The URL to the video being queried.

owner

number

The user ID of the owner of the video being queried.

src

string

The URL to thesource file for the standard quality version of the video.

src_hq

string

The URL to the source file for the high quality version of the video.

thumbnail_link

string

The URL to the thumbnail image for the video being queried. This URL may be blank.

title

string

The name of the video being queried.

updated_time

number

The date when the video being queried was last modified.

vid

number

The ID of the video being queried. The vid cannot be longer than 50 characters. Note: Because the vid is a string, you should always wrap the vid in quotes when referenced in a query. The vid is unique only for a given user. You can use the vid as an object ID in the Graph API.

Examples

  • SELECT ... FROM video WHERE vid = A
  • SELECT ... FROM video WHERE owner = A
  • SELECT ... FROM video WHERE album_id = A
Note: Additional filters on other columns can be specified but they may make the query less efficient.

Permissions

To read video you need

  • Any valid access_token for publicly available videos
  • user_videos permissions for all videos owned by the user (including nonpublic videos)
  • friends_videos permissions for videos owned by the user's friends (including nonpublic videos that the friend has allowed the user to view)
Facebook © 2013 · English (US)
AboutAdvertisingCareersPlatform PoliciesPrivacy Policy