Get USERID using Api


#1

I can able to get All the users details by using

https://api.twitter.com/1/account/verify_credentials.json

But i want to get only ID by using api

How to obtain that.

I dont want to extract from the total credentials.

I want like facebook URL

https://graph.facebook.com/me?fields=id

It returns only ID.

Thanks.