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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:13:12+00:00 2026-06-06T12:13:12+00:00

I have a website with Facebook capabilities (Sending personal messages, posting to wall). I

  • 0

I have a website with Facebook capabilities (Sending personal messages, posting to wall). I use both the PHP and JavaScript Facebook SDKs. For posting to users walls/FanPages I use the following JavaScript SDK feed dialog:

function generalPost(producerID, producerName, fanPageID)
{ 
   var obj =
   {
      method: 'feed',
      link: '<?php echo SEAT_NEAR_ME; ?>?producerID='+ producerID,
      type: 'video',
      picture: 'https://<?php echo DOMAIN; ?>/DATA/producersPic/<?php echo $_SESSION["IMG"];?>',
      from: fanPageID,
      to: fanPageID, //fan page ID
      show_error: true,
      name: producerName,
      caption:'    ',
      description: '                     '
   };

      FB.ui(obj, function(response){
               if (response && response.post_id) 
               {
                   //post success
               } 
               else 
               {
                   //alert('Post was not published.');
               }
           }); 
}

This produces the following dialog: (I’ve blurred the personal information)

Feed dialog

I want to add ‘Photo / Video’ upload capability for my dialog, just as (or similar to) to the one on facebook:

Post with video

I’ve googled about it and checked the Facebook docs and only found this:

Photo batch uploads

I have two question:

  1. Is this what I need or is there any better way to write the photo/video dialog ?
  2. From the Facebook docs I’ve found, What does this means: $my_url = "YOUR_POST_LOGIN_URL"
    What is POST_LOGIN_URL ?

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-06T12:13:13+00:00Added an answer on June 6, 2026 at 12:13 pm

    If you want to post photos / videos, then you will have to post the actual files to facebook using cURL or another method. This Blog Post details the process for uploading photos. You won’t be able to use the JavaScript Feed Dialog to upload photos / videos.

    The POST_LOGIN_URL is where you want the user to go after they have logged in.

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

Sidebar

Related Questions

I have website that will both post to a user's Facebook wall, and allow
I have a website in which i use the Facebook API to let users
I have website where users can login with their Facebook account. I am using
I have a website that uses the JavaScript SDK, and I have a facebook
I have a php website, where in the header i am displaying the facebook
I have a website which i integrate with Facebook (via FBML - JavaScript API).
I have a website which users can sign up to using Facebook Connect (with
I have a website where we use the request dialog to allow users to
I have just implemented Facebook Authentication on my website using Facebook JavaScript. If user
Users have been able to log into my website using their Facebook account, but

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.