https://apps.facebook.com/atri-apps/next.jsp#access_token=AAADDZAgrM9vcBAA
I want to access the access_token parameter from url but I am not able to do it.
I am using .getQueryString .getParameterValue() methods of request object of a servlet. But they are not working as their is no ‘?’ sign after next.jsp.
Can any one can help me to get access_token parameter?
#denotes a URL anchor, not a query parameter, and they are not added to the query string. As a result, they don’t get sent to the server, they stay only on the client. Your servlet has no way of accessing them.If you need the server to read them, you need to use a query string parameter, e.g.
Note the
?instead of the#