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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:37:36+00:00 2026-05-23T12:37:36+00:00

I am currently working on a mobile web page in asp.Net MVC2 that allows

  • 0

I am currently working on a mobile web page in asp.Net MVC2 that allows users to post to their walls. I have the following code that posts to the user’s wall, but would like to instead have a redirect to Facebook’s mobile “Post To my Wall” view to allow the user to add to the posted message and submit with a “Post” button or “Cancel”. Do I have to recreate this view myself? It seems like something that a lot of sites would use.

 public string PostToWall(string code)
        {
            string authToken = string.Empty;
            try
            {
                authToken = GetAuthToken(code);
                FacebookClient app = new FacebookClient(authToken);
                dynamic user = app.Get("me");
                var id = user.id;
                var args = new Dictionary<string, object>();
                args["message"] = "Test Wall Post";
                args["caption"] = "Test Caption";
                args["description"] = "Test Description";
                args["name"] = "Test Name";
                //args["picture"] = "[your image URL]";
                //args["link"] = "[your link URL]";

                app.Post("/me/feed", args);
                return string.Empty;

            }
            catch (Exception ex)
            {
                _log.ErrorFormat("Error getting the Facebook authentication token. {0}", ex);
                return string.Empty;
            }
        }

Thanks!

[Edit] @OffBySome I set up a rough test using the facebook Javascript SDK and I set it to display: ‘touch’ but it still pops up in my safari iphone user agent. I used this

attachment: {
                title: '<my title>',
                caption: '<my caption>',
                description: (
                        <my description>
                    ),
                name: '<name>',
                link:  '<link>',
                display: 'touch', },

But none of these attachments get added to my wall posts. Am I doing it wrong? Dialogs: Fb.Ui http://developers.facebook.com/docs/reference/javascript/#xfbml

  • 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-23T12:37:36+00:00Added an answer on May 23, 2026 at 12:37 pm

    Easiest for this would be to use the Facebook javascript sdk and use the FB.ui dialog to allow the user to share. You can set display=touch or display=wap for a mobile optimized dialog.

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

Sidebar

Related Questions

I'm currently working on a consumer mobile application project and have read that 40%
Am currently working on an application that requires users to submit posts and comments
I'm currently working on a cross-platform mobile app and have gone through the process
I'm trying to create a mobile-friendly web page that will allow a user to
Im currently working on a mobile web app and am wondering if I should
I'm currently working on a soft-input-panel for windows mobile and have run into a
I'm currently working on a C# app targeted for Windows Mobile 6 devices that
I'm currently working on an Intranet application project, using ASP.NET MVC 3. One of
I am working on a mobile web app that is primarily self-contained and communicated
I am currently working on mobile device web applications, and I was wondering if

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.