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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:34:59+00:00 2026-05-25T03:34:59+00:00

I have an iphone app that lets users post a ‘story’ to their facebook

  • 0

I have an iphone app that lets users post a ‘story’ to their facebook wall. This story contains a youtube video as part of the message. The video loads and plays normally from the standard web-browser facebook client, but fails to load from the iphone facebook app. When the user selects the video link from the iPhone facebook app a blank white view is pushed onto the navigation controller view-stack. Is there a way to get the link to trigger the iOS to load the youtube app?

SBJSON *jsonWriter = [[SBJSON new] autorelease];

        NSDictionary* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys: 
                                                               @"#####",@"text",
                                                               @"http://www.facebook.com/#####",@"href",
                                                               nil], nil];

        NSString *actionLinksStr = [jsonWriter stringWithObject:actionLinks];

        NSString *video_link = @"http://www.youtube.com/v/#####";
        NSString *image_link = @"http://i.ytimg.com/vi/#####/2.jpg";

        NSDictionary *video_share = [NSDictionary dictionaryWithObjectsAndKeys:
                                     @"flash",      @"type",
                                     video_link,    @"swfsrc",
                                     image_link,    @"imgsrc",
                                     @"100",        @"width",
                                     @"80",         @"height",
                                     @"400",        @"expanded_width",
                                     @"320",        @"expanded_height",
                                     nil];

        NSString *caption = @"#####";
        NSString *description = @"";
        NSString *name = @"#####";
        NSString *url = @"http://www.#####.com/";

        NSDictionary* attachment = [NSDictionary dictionaryWithObjectsAndKeys:
                                    name, @"name",
                                    caption, @"caption",
                                    description, @"description",
                                    [NSArray arrayWithObjects:video_share,nil], @"media",
                                    url, @"href", nil];

        NSString *attachmentStr = [jsonWriter stringWithObject:attachment];

        NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                       kFBAppId, @"api_key",
                                       @"#####",  @"user_message_prompt",
                                       actionLinksStr, @"action_links",
                                       attachmentStr, @"attachment",
                                       nil];

        [facebook dialog: @"stream.publish"
               andParams: params
             andDelegate: self];
  • 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-05-25T03:35:00+00:00Added an answer on May 25, 2026 at 3:35 am

    if you are testing on simulator and opening link in webview, youtube video will not be play or load.

    but it will play on device i-e iphone/ipad/ipod.

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

Sidebar

Related Questions

I currently have an iPhone app that lets the users take video, upload it
I have an iPhone app that allows users to record videos and I'd like
This a pretty basic question. Let's say I have this iPhone/iPad app that, at
I have an app that lets the user take a picture with his/her iPhone
Let's say I have a solution involving an iPhone app that generates some information
I have an iPhone app that I've built for the app store. Before I
I have an iPhone app that I am writing and it has 2 targets
I have an iPhone app that heavily relies on the OpenCV library; as such,
I have an iPhone app that is based on a navigation controller. I have
I have an iphone app that I built based off a tutorial (for a

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.