Call us Today +1 630 534 0220

Recenntly we developed plugin in classic asp to integrate with facebook for one of our client. below is some client requirement.Client Comments :

I need a ASP Vb script version regarding the new Facebook Registration plugin

for websites :

What I need is a ASP VB script that reads the signed_request and makes all the registration variables available (name, email…) in ASP so they can be inserted into a DB.

Classic ASP - Facebook integration

Inorder to accomplish above requirement below is the fb:registration block.

<fb:registration fields=”[
{‘name’:’last_name’,’description’:’Last Name’,’type’:’text’},
{‘name’:’phone’,’description’:’Phone Number’,’type’:’text’},
{‘name’:’like’,’description’:’Do you like this plugin?’,’type’:’checkbox’,’default’:’checked’}
]” redirect-uri=””></fb:registration>
once set above block there will be needs to parse response from the facebook once user register using registration pages.
Parsing Code :
signed_request = Request(“signed_request”)
response.write signed_request
strString = split(signed_request,”.”)
strResponse = Base64Decode(strString(1))
‘– First Name
FirstNameStart = instr(strResponse,”””first_name””:”) + len(“””first_name””:”) + 1
FirstNameEnd = instr(strResponse,”,””last_name”””) Â – 1
FirstName = mid(strResponse,FirstNameStart,FirstNameEnd-FirstNameStart)
Once code has been parsed stored same to database.

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

4 Responses to Facebook Integration with classic ASP

  1. I think this website contains very superb pent subject material articles.


  2. I think that is among the so much significant info for me. And i am glad reading your article. However wanna statement on some basic things, The website style is perfect, the articles is in reality nice : D. Excellent activity, cheers


  3. Remarkable issues here. I’m very happy to see your article. Thank you so much and I’m looking forward to contact you. Will you kindly drop me a e-mail?


Do You Need more information ?

For any further information / query regarding Technology, please email us at
OR call us on +1 630 861 8263, Alternately you can request for information by filling up Contact Us
facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

Leave a Reply

Your email address will not be published. Required fields are marked *