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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:38:19+00:00 2026-06-07T10:38:19+00:00

I am creating an app on facebook and I am trying to post to

  • 0

I am creating an app on facebook and I am trying to post to a friend’s wall. I’m using the facebook javascript SDK and the FB.ui method to do this. In short here is my code:

function test() {

var obj = {
      method: 'feed',
      to: '######'
    };

function callback(response) {
      alert(response['post_id']);
    }

FB.ui(obj, callback);
}

Note that I made this code very simple for testing purposes.

When I run it, a facebook feed dialog opens correctly and at the top says “Post Story to friendsname’s Wall”. I type in a message and press Share. My alert pops up with a response[‘post_id’] number. Because there is a response[‘post_id’] the story should’ve been posted successfully right? However when I navigate to the friend’s wall there is no story. I’ve tried this multiple times in slightly different ways and haven’t been able to get it to work. If I remove the ‘to’ parameter and simply post to my own wall it -does- work. So for some reason, posting to a friend’s wall breaks it?

I know it’s a rather broad question but I was wondering if anybody had any ideas why this doesn’t work. 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-07T10:38:21+00:00Added an answer on June 7, 2026 at 10:38 am

    I suspect the problem may be because your application is in sandbox mode – https://developers.facebook.com/docs/ApplicationSecurity/

    When testing your apps, place them into Sandbox Mode. This hides your
    app entirely from all users who you have not authorized in the
    developer app to see the app,
    for the roles described below. Please
    note that when your app is in Sandbox Mode, you cannot call any API
    calls on behalf of users who cannot see your app.

    Basically, if your application is in sandbox mode, nothing your application does can be seen by users who have not authorized your application or by users that have not been specifically listed in the “roles” within your applications settings.

    Remove you application from sandbox mode or add some users to specific “roles” within your application.

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

Sidebar

Related Questions

I'm creating a mvc3 canvas app using facebook c# sdk The method name is
I am creating an iphone app using Facebook api. Here I'm using the following
While creating a mobile web app with the Facebook javascript SDK, I have one
Here I am creating an iPhone app using facebook api. I have loaded the
I am creating an app using iOS 5 SDK. I managed to push views
I'm creating an iphone app using Facebook apis. I need to get the user's
I am creating a Facebook App using Django. When I access my webpage directly
I'm using the latest facebook iOS SDK (supporting SSO) to connect my iPhone app
I am creating an app using the Facebook C# API. I want to read
I've been creating my first App for Facebook, and one of the code samples

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.