Filter view from $_GET parameters
Use "Global: PHP" field to get the required parameter value. If views_php is not installed, then use this link, views_php to install the module and give the permission using admin/people/permissions. 

Go to your Views -> CONTEXTUAL FILTERS -> ADD -> Select "Global: PHP" then you can retrieve the parameter using $_SERVER[QUERY_STRING] and retrieve the value.

And also you can use $_GET['nid'] to get the value.