getting userid without granting access.

Jul 6, 2011 at 8:06 PM

Ive written a very simple competition for a facebook page, going through the documentation for the graph tooldkit I thought we could access the users ID and name without having them to grant access to the app (in fact I thought I had this working with a previous version of the toolkit) however when I just do a simple ...request to get the users ID using API.Getuser, facebook always prompts for the user to be granted access. Is there a way to get this working.

Also I have the same requirement for checking whether a user likes a specific page, does that also have the same requirement to grant access?