Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way I can use the API directly from JavaScript without any Server side proxy? I know of the inter-domain restrictions, but can we do it somehow in case of facebook API right?

share|improve this question

You can do this by making a JSONP request. This works by returning the results of a query in a <script> tag that invokes a callback.

You can find more information about it here.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .