Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Using Silent HTTP Post for Facebook Integration - Examples
Last Post 10-08-2012 06:08 PM by Hazen Wilson. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
SteveUser is Offline
wading in the water
wading in the water
Posts:25
Avatar

--
08-11-2011 11:13 AM

    There have been quite a few posts relating to Dynamic Login (DL) and Facebook (FB) Integration.  I want to thank Data Springs (Chad) for taking quite a bit of time over the past weekend to work through some of the issues relating to the use of the Silent Post option in DL.

    This post addresses the specific use case of creating a DNN user account through Dynamic Registration (DR) on the same portal as the Dynamic Login w/ Facebook connect using an http silent post. There are currently three options for creating a DNN user account in DL. FB using the FB UserID, FB using the FB email address and None (or Silent http post). This forum post addresses the third option or how to use the silent post method with Dynamic Registration.  So if you don't currently have the DR module installed, this isn't for you. Before getting started it is important to note that you MUST have at least version 04.00.20 of DL installed.  This release fixes some workflow related issues, as well as a problem with the $(Email) token not working correctly. One new token was added as well.  This token is $(AccessToken) which contains the value of the FB access token or session cookie that FB creates when FB connect is invoked. The cookie has a name like fbs_246757088686355 (your numbers will be different).  You can find specific information on creating an Silent HTTP Post in the DL, DR manual and in these forums.

    For this example we are creating a new user using their FB UserID as the DNN User Name.

    For MY example I have the following options specific to setting up Silent Posting in DL

    Facebook General Settings:

    User Creation Type: None / Silent Post / Redirect to Thank You

    Submit HTTP Post: Creating User Only (you can use whatever option you want here)

    Silent Post (Dynamic Form/Registration URL): http://www.youdomain.com/yourDRregi...npage.aspx ?

    example:

    http://www.mywebsite.com/FBregistration/DynamicRegistration.aspx?

    Silent Post Details:

    At a minimum ALL of these tokens should be included in your Silent Post:


    SPost=True&UserN=$(UserName)&Pass=$(Password)&ConfirmPass=$(Password)&FirstN=$(FirstName)&LastN=$(LastName)&Email=$(Email)


    For the next example I'm going to create the DNN User Name using the Facebook email address instead of their FB UserID.  I'm also passing in FBUID into DR.  In DR, FBUID is mapped to a DNN profile field that I've created called fbUID. This is just an option I created, so if you don't want it, just leave &FBUID=$(UserName) off of the post.


    SPost=True&UserN=$(Email)&Pass=$(Password)&ConfirmPass=$(Password)&FirstN=$(FirstName)&LastN=$(LastName)&Email=$(Email)&FBUID=$(UserName)

     

    Here is the list of all tokens available for FB integration:
               

    $(UserID)

    $(UserName)

    $(FirstName)

    $(LastName)

    $(DisplayName)

    $(Email)

    $(Password)

    $(PortalID)

    $(ModuleID)

    $(IPAddress)

    $(TabID)

    $(CurrentURL)

    $(URLReferrer)

    $(CurrentLanguage)

    $(AccessToken)

    So if you wanted to add the new $(AccessToken), just add it to the end of the string using &FBaccess=$(AccessToken). In your silent post replace &FBaccess with whatever short name you've created for this field on your DR page.  In fact you should make sure you have ALL the corresponding short name fields set up on DR to match the names used in you silent post.

    Once this is complete you should be able click on the FB Connect button, get immediate access to your site using FB authentication and have a new user set up in DNN using the FB UID as the User Name.  One of the big advantages of this method is that you can configure whatever completion events that you’d like to in DR once the user has been created in DNN.  A welcome email for example.  Hope this helps! 

    Pat RyanUser is Offline
    new to the springs
    new to the springs
    Posts:1
    Avatar

    --
    09-27-2011 02:15 PM
    Hey Steve! Awesome post!@ Thank you.. 

    I can't seem to find the newest version that you're speaking of? Where did you download it from?

    Thanks!
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    06-22-2012 09:42 AM
    Just as another reference I wanted to add another example of a post that worked successfully:

    The Posted URL went to a Dynamic Registration page:
    http://yourwebsite.com/signup/fbsignup.aspx

    The post was this:
    SPost=True&FirstN=$(FirstName)&LastN=$(LastName)&Email=$(Email)&Pass=$(Password)&ConfirmPass=$(Password)

    Tags: Dynamic Registration Silent HTTP Post from Dynamic Login for Facebook


    Thanks!

    -Chad
    Hazen WilsonUser is Offline
    wading in the water
    wading in the water
    Posts:16
    Avatar

    --
    10-06-2012 09:01 AM
    Has anyone gotten this to work with dnn 6.2.3.
    DL = 4.10.30
    DR = 4.20.11.
    ive set up DL as instructed as well as DR. When a user clicks the facebook icon. it prompts the user to fill in their facebook info. Facebook side seems to work, it makes the required post to the users facebook page.
    Now the problem.. .it does not log in the user (if there is an account) and it does not create the acount in the ddn installation if none exists.

    1. Does anyone have this working in 6.2.3
    2. What are the current DL and DR that are working in the install.
    3. Are the shortname in DR supposed to be the following using this SP Post (SPost=True&FirstN=$(FirstName)&LastN=$(LastName)&Email=$(Email)&Pass=$(Password)&ConfirmPass=$(Password)
    A. FirstN
    B. $(FirstName) = FirstName
    4. I have the Dr installation set to verify the username is available (does that matter)
    5. We also have other fields with dr that have validation like (enter birdtate, gender, etc) does that matter

    The dr instance is here:http://www.planetsocialsports.com/R...Login-Page

    The DL instance is here: http://www.planetsocialsports.com/Sports-login
    www.hazeninteractive.com www.planetsocialsports.com www.rentalpropertyfind.com www.freeusedcartrader.com www.losangeles-activities.com www.hospitalbassinetrental.com
    Hazen WilsonUser is Offline
    wading in the water
    wading in the water
    Posts:16
    Avatar

    --
    10-08-2012 06:08 PM
    Bump
    www.hazeninteractive.com www.planetsocialsports.com www.rentalpropertyfind.com www.freeusedcartrader.com www.losangeles-activities.com www.hospitalbassinetrental.com
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi