Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8082887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:16:13+00:00 2026-06-05T17:16:13+00:00

I am trying to do a simple query to get a list of all

  • 0

I am trying to do a simple query to get a list of all videos in my Facebook account. The FQL query in FQL console (or Graph API console) on Facebook returns the correct number of videos. However, when executing the query (GraphAPI or FQL) from Objective C returns just a single record (video).

On Facebook FQL console:

SELECT vid, owner, title, description, updated_time, created_time  FROM video WHERE owner=me()

In Objective C (using Facebook’s Wishlist sample code):

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"SELECT vid, owner, title, description, updated_time, created_time  FROM video WHERE owner=me()", @"query", nil];

NSLog(@"FQL: %@", params);

[facebook requestWithMethodName:@"fql.query" andParams:params andHttpMethod:@"POST" andDelegate:self]; 

When I print the “result” in request:didLoad, it contains just a single video. I am not sure what is causing the problem. Any help will be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T17:16:14+00:00Added an answer on June 5, 2026 at 5:16 pm

    This code will get you all the videos that are on your Facebook account, including the ones that you have been tagged in:

    NSString *requestPath = @"/me/videos?fields=name,from,description,updated_time,created_time";   
    [facebook requestWithGraphPath:requestPath andDelegate:self];
    

    I personally only use fql when I have to do multiple queries in a single request. Thats not necessary in this case.

    To get the videos that only you yourself have uploaded, you will have to make a request to /me/videos/uploaded instead.

    The requested fields above are taken from the video object documentation:
    https://developers.facebook.com/docs/reference/api/video/

    I hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to write a simple correlated sub query that deletes all records
I'm trying to get a list of all area in my database: public ActionResult
I am trying to get a list of all friends of the current user
I am trying to get a list of all theater names for a MVC
I'm trying to run a simple query with PDO in PHP. The code is
I'm trying to run a simple query with $this->db in Kohana, but am running
I'm trying to figure out why a simple query in LINQ is returning odd
Am trying to construct a simple update query in my model class Model_DbTable_Account extends
I am trying to use a simple MySQL insert query with the parameters in
I am trying to query some tables in my database using a simple dropdown

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.