• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to Get full url with # symbol in servlet?

 
Murtaza Lokhandwala
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i created a facebook application which calls a servlet. Servlet is called successfully with url=http://.../servlet/TestFbApp.LoginServlet?fb_login&#fname=_opener&guid=0.37535739550367&installed=1&session=%7B%22session_key%22%3A%222.AQBxL1ylG4iDe5Ud.3600.1309269600.1-1441611499%22%2C%22uid%22%3A1441611499%2C%22expires%22%3A1309269600%2C%22secret%22%3A%22dpKTa7uWMemwcikhI6IyFQ__%22%2C%22base_domain%22%3A%22shero.khayal.net%22%2C%22sig%22%3A%223cd456c02f79ddfbf0242812ad51ebc4%22%7D.

i try to get session key from this url but it gives me null value.

please help me to get that session key..

Thanks in advance
 
Shanky Sohar
Ranch Hand
Posts: 1051
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How you are setting session..please tell/
 
Murtaza Lokhandwala
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
by using fb social plugins!
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not worked/used facebook social plugins.
But if you can post your code here, I can give it a try to solve your problem

~ abhay
 
Murtaza Lokhandwala
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=APP_ID&xfbml=1"></script><fb:login-button show-faces="true" width="200" max-rows="1"></fb:login-button>

i also mention my APP_ID in above code
 
Shanky Sohar
Ranch Hand
Posts: 1051
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this out..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic