Foursquare log-in
<p>i am developing an android application for foursquare.I have gone through every api endpoints,experimented with it.I know how to access data using api endpoints and access token.</p>

<p>Now what my application requires is a log-in page containing username password.</p>

<p>I use the following url for obtaining access token for a user.</p>

<pre><code>https://foursquare.com/oauth2/authenticate
?client_id=MY_CLIENT_ID
&amp;response_type=token
&amp;redirect_uri=MY_REGISTERED_REDIRECT_URI 
</code></pre>

<p>when i post the above url in the browser i am 1st redirected to the foursquare login page then after log-in i am directed to MY_REGISTERED_REDIRECT_URI with the access token appended to it.
if i follow this procedure then my log-in page is a waste.</p>

<p>Is there any way by which i can append the username and password to above url directly and bypass foursquare log-in page in my application?</p>

<p>can any1 help me out with this?</p>

<p>I only require a proper log-in page.</p>

<p>And 1 more thing i wanted to know is that after user log-in how to get user's foursquare ID from username and password?</p>
