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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:37:21+00:00 2026-05-26T01:37:21+00:00

I need a basic, how-to guide on how to take a picture from MY

  • 0

I need a basic, how-to guide on how to take a picture from MY webpage, click a button and that button action will send a specific image to the user wall, with some text… Can you tell me exactly the steps to do that.

I have read the Facebook developer forum, the FB.ui but everything echo out : error FB.ui is not defined event

here is my code in html file :

<div id="fb-root"></div>
<script type="text/javascript">
    window.fbAsyncInit = function() {
        FB.init({appId: 'some weird number things like that : ZCWjysg4SYlkg0gZDZD', status: true, cookie: true, xfbml: true});
    };
    (function() {
        var e = document.createElement('script');
        e.type = 'text/javascript';
        e.src = document.location.protocol +
            '//connect.facebook.net/en_US/all.js';
        e.async = true;
        document.getElementById('fb-root').appendChild(e);
    }());

and that code in javascript jQuery trigger button:

FB.ui(
  {
    method: 'feed',
    name: 'Facebook Dialogs',
    link: 'http://developers.facebook.com/docs/reference/dialogs/',
    picture: 'http://fbrell.com/f8.jpg',
    caption: 'Reference Documentation',
    description: 'Dialogs provide a simple, consistent interface for applications to interface with users.'
  },
  function(response) {
    if (response && response.post_id) {
      alert('Post was published.');
    } else {
      alert('Post was not published.');
    }
  }
);

I have absolutely no idea how to do that… and event some code in some site are wrong (errors)

I think here : http://developers.facebook.com/docs/reference/api/post/ it’s the best source of information to know how, but i missing the basic step 1. 2. 3.

  • 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-26T01:37:21+00:00Added an answer on May 26, 2026 at 1:37 am

    From your code, the appId is wrong!! App Id is all digits, specifically 15 digits, in some places it is also called the api key. What you have posted seems like the app secret, which shouldn’t be put in the JS anyway.
    To get an app id you have to create an app in the developer app, or visit this link.

    Then register the Javascript SDK, you can refer this url.

    Then call the FB.ui method, refer this url.
    Hope this helps.

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

Sidebar

Related Questions

i have a form button in the form,which i need to perform basic action
I want to shift away from Excel to Awk. I need basic mathematical operations,
I need a basic pdf generator that'll let me toss some images and text
I need a basic example of how to use the IComparable interface so that
I need to validate a basic authorization header that is being sent to my
I need some basic tutorial or guide on how to use PhysX™ Candy Wrapper.
I am dealing with a webpage that has multiple forms..some basic HTML forms and
I need some basic CMS functionality with rich text editing. On stack overflow there
I would need some basic vector mathematics constructs in an application. Dot product, cross
I need to find basic WYSIWYG HTML editor component for C++Builder 5 to let

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.