Facebook developer toolkit

Last post 01-04-2008 11:51 PM by M A A Mehedi Hasan. 3 replies.

Sort Posts:

  • Facebook developer toolkit

    01-03-2008, 1:29 AM
    • Loading...
    • arunicbe
    • Joined on 10-30-2006, 7:30 AM
    • Posts 27

    hi,

    i am developing a asp .net 2.0 web application integrating facebook using facebook developer tool kit.

    i am able to run the samples provided along with kit download.

    I have a question on how to retrieve a user's profile detail like work, education etc.

    i see some classes in documentation and but i don't know how to use them

    any help is highly appreciated.

     

    thanks

     

     


     

     

     

    Filed under: ,
  • Re: Facebook developer toolkit

    01-04-2008, 3:32 AM

    Hi,

    Profile is about .Net Membership. You can learn on it and you will kown about more.

    Profile is to store the information on users who can be login user or anonymous user.

    1. Configure in Web.Config. You can set <anonymousIdentification enabled="true"/> to permit all of the user use profile, and the information of it will be stored in database. The make-up "allowAnonymous=True" can allow using profile for anonymous user.

    <anonymousIdentification enabled="true"/>
    <profile>
    <properties>
    <add name="FirstName" allowAnonymous="true"/>
    <add name="LastName" allowAnonymous="true"/>
    <add name="LastVisited" allowAnonymous="true"/>
    <add name="Work" allowAnonymous="true"/>
    <add name="Education" allowAnonymous="true"/>
    </properties>
    </profile>
     As to login user, you have to use the membership controls, such as Login.

      2. Via Profile.FirstName = "username", you can set the value to this profile.

    As to retrieving data from profile, you can use this:

    Labal1.Text = "First name: " + Profile.FirstName;
    Label2.Text = "Work :" + Profile.Work;

     Hope this can help.

     

    Sincerely,
    Vince Xu
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
    Answer” if a marked post does not actually answer your question.
  • Re: Facebook developer toolkit

    01-04-2008, 7:25 AM
    • Loading...
    • arunicbe
    • Joined on 10-30-2006, 7:30 AM
    • Posts 27

    hi,

    i think you misunderstood my question. my question is related to

    getting information from facebook user profile.

    thanks 

     

  • Re: Facebook developer toolkit

    01-04-2008, 11:51 PM

    Hi,

    Did u check this

    http://blogs.msdn.com/coding4fun/archive/2007/05/24/2854939.aspx 

    Mehedi Hasan


    Mark as answer if the post meets your requirement!
Page 1 of 1 (4 items)
Microsoft Communities
Page view counter