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 7908529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:59:18+00:00 2026-06-03T11:59:18+00:00

I am using Graph API to upload video on facebook. I am able to

  • 0

I am using Graph API to upload video on facebook. I am able to upload .wmv format video but not .mp4. My code is as below

strVidUrl=@"http://myshow.com.au/Videos/mp4s/20111216044530271247467.mp4";
    //strVidUrl=@"http://www.myshow.com.au/Videos/BossAlarm.wmv";
    NSURL *url = [NSURL URLWithString:strVidUrl];
    NSData *data = [NSData dataWithContentsOfURL:url];
    NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                   data, @"video.mov",
                                   @"video/mp4", @"contentType",
                                   [dicVideoDetails valueForKey:@"fld_display_name"], @"title",
                                   [dicVideoDetails valueForKey:@"fld_video_description"], @"description",
                                   nil];

if I use .wmv then code is below and it is running.

NSURL *url = [NSURL URLWithString:@"http://www.myshow.com.au/Videos/BossAlarm.wmv"];
NSData *data = [NSData dataWithContentsOfURL:url];
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                               data, @"video.mov",
                               @"video/quicktime", @"contentType",
                               @"Video Test Title", @"title",
                               @"Video Test Description", @"description",
                                   nil];

Result is comming same in both cases but .mp4 video is not showing on facebook. while .wmv is showing there.

Please help me.

  • 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-03T11:59:22+00:00Added an answer on June 3, 2026 at 11:59 am

    That may be due to the missmatch of codecs and compression rates of your source video and fb’s recomented video format

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

Sidebar

Related Questions

I am trying to retrieve information through Facebook graph api, using the below code
Looking for some code to upload a photo to facebook using the Graph API
Can we upload video on facebook using graph api in the iphone sdk 4.0
I am using Facebook graph API to upload photo to the Facebook and on
I am using facebook graph api to upload photos to existing album in my
I'm trying to upload images using Graph API Batch Request, but i'm unable to
I am trying to upload a photo to facebook using graph api and keep
I am using graph API to get the feed post. https://graph.facebook.com/128172073865656/feed?limit=200 but it is
I'd like to post a Link to Facebook using the Graph API , but
I'm trying to upload a picture to a Facebook album using the Graph API.

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.