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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:48:41+00:00 2026-05-18T21:48:41+00:00

I’m trying to create a basic application, i created facebook application before but everything

  • 0

I’m trying to create a basic application, i created facebook application before but everything has been changed 🙁

I looked every where to create a basic application, but now i’m getting mad because there isn’t any working sample. Because of the changed links, facebook api changes, facebook wiki changes i couldn’t find a working copy.

I wonder if anyone can help me to write a basic app that gets permission to write user name to screen in facebook developer toolkit asp.net. I looked computerbeacon.net, codeplex, and some other pages but i couldn’t succeed, so please don’t give me the links 🙂

Edit: I’ m adding some screenshots and some codes, it will may be help you to find my problem.

Here some screenshots from fb;

This is the core settings,
alt text

This is the Facebook integration settings,
alt text

Web.config file

<?xml version="1.0"?>

<configuration>

  <appSettings>
    <add key="FaceBookAPIKey" value="MyapiKey"/>
    <add key="FaceBookSecretKey" value="MyapiSecret"/>
  </appSettings>
  <system.web>
    <compilation debug="false" targetFramework="4.0" />
  </system.web>

</configuration>

My Default.aspx file;

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="Facebook.Web" Namespace="Facebook.Web" TagPrefix="cc1" %>
<cc1:CanvasFBMLLoginControl ID="CanvasFBMLLoginControl1" runat="server" RequireLogin="true" />

Result;

alt text

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-05-18T21:48:41+00:00Added an answer on May 18, 2026 at 9:48 pm

    I faced the same problems.

    please make sure that

    please fill canvas url with your webapp correct URL when you create facebook application

    I paste here the following running example that update my status in facebook profile

    the following code in markeup

    <script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"></script>
        <form method="post">
            <input type="submit" value="Submit Comment" />
            <%--<fb:login-button></fb:login-button>  
            <fb:prompt-permission perms="status_update"> Grant permission for status updates </fb:prompt-permission>
        </form>
    

    and the following in form page to send status

    /// <summary>
            /// To send status to your facebook account
            /// </summary>
            /// <param name="statusMessage">status message</param>
            public bool publishToFaceBook(string statusMessage)
            {
                //please Change call back url in FB app accoroding to your web site application
                 Facebook.Rest.Api Api;
                 Facebook.Session.ConnectSession _connectSession;
                 _connectSession = new Facebook.Session.ConnectSession(ConfigurationManager.AppSettings["FaceBookAPIKey"], ConfigurationManager.AppSettings["FaceBookSecretKey"]);
    
                bool sucess=false;
                if (_connectSession.IsConnected())
                {
                    try
                    {
                        Api = new Facebook.Rest.Api(_connectSession);
                        Facebook.Schema.user u = Api.Users.GetInfo();
                        Facebook.Schema.user_status _status = new Facebook.Schema.user_status();
    
                        Api.Users.SetStatus(statusMessage);
    
                        sucess = true;
    
                    }
                    catch (Exception ex)
                    {
                        sucess = false;
                    }
    
                }
                return sucess;
            }
    

    I hope that help you

    Best Regards,

    Mohammed Thabet Zaky

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I am trying to loop through a bunch of documents I have to put
I have a bunch of posts stored in text files formatted in yaml/textile (from
We're building an app, our first using Rails 3, and we're having to build
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I'm making a simple page using Google Maps API 3. My first. One marker
I have some data like this: 1 2 3 4 5 9 2 6

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.