quarks
quarks

Reputation: 35276

Get URL Query parameters GWT

I need to get "query parameters" from this URL with GWT:

127.0.0.1:8888/App.html?gwt.codesvr=127.0.0.1:9997#Login&oauth_token=theOauthToken&oauth_verifier=123456

I need to get the oauth_verifier

However, Window.Location.getParameter("oauth_verifier"); is returning null.

How to get this?

Upvotes: 2

Views: 3082

Answers (1)

Rahul Tripathi
Rahul Tripathi

Reputation: 172448

You can try this using getHash():-

string s= Window.Location.getHash();

Upvotes: 2

Related Questions