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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:32:03+00:00 2026-06-06T10:32:03+00:00

I have an iPhone app that allows users to record videos and I’d like

  • 0

I have an iPhone app that allows users to record videos and I’d like them to be able to share those videos on Facebook.

However, unless the user decides to share, I don’t want him/her to be redirected to Facebook. I’ve tried the method provided in the Facebook iOS tutorial, and it requires the user to be redirected to Facebook and authenticate as soon as the app starts up.

That’s unnecessary.

What I’d like to do is have a “Share” button that allows the user to authenticate and then automatically upload a video right afterward using the POST request.

Is this possible? Has anyone achieved a similar effect?

Thanks.

  • 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-06T10:32:03+00:00Added an answer on June 6, 2026 at 10:32 am

    The answer to this question lies in creating a singleton that operates as both the FBSessionDelegate and the FBRequestDelegate, and allows you to pass one instance of Facebook around your program.

    I called my singleton FacebookVideoUploader, and in my app delegate I called:

    - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
        return [[[FacebookVideoUploader sharedInstance] facebook] handleOpenURL:url];
    

    That’s it. This keeps the app delegate uncluttered and let’s the singleton handle the delegate methods.

    In my implementation file for my view controller that handles the video upload I put:

    • (IBAction)shareWithFacebook:(UIButton *)sender {
      [[FacebookVideoUploader sharedInstance] postVideoToFacebook];
      }

    That’s it. All of the delegate and session methods as well as postVideoToFacebook are handled in the FacebookVideoUploader singleton.

    This allows my users to log into my app without being redirected to Facebook and lets them authenticate as soon as they decide they want to share a video.

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

Sidebar

Related Questions

I have a client who would like an iphone app that allows users to
I have an ebook style iPhone app that allows users to read a book.
I currently have an iPhone app that lets the users take video, upload it
I have an iphone app which post photos into albums of facebook users, and
I have an iPhone app that has a 4 option menu, and allows the
I have a simple iPhone app that allows the user to upload images to
For an iPhone app, I'm working on a feature that allows users to make
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,

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.