Skip navigation
lyadav
Currently Being Moderated

How to call a URL Using In-design

Apr 11, 2012 10:49 AM

I am wondering what Class/Method/api to use if I want to make a call to a URL.

 

 

For example, let's use twitter as an example.  If I want to see the 10 most recent tweets regarding Aishwarya Rai, I would use twitter's search JSON API and call this URL:

http://search.twitter.com/search.json?q=Aishwarya%20Rai&rpp=10&result_ type=recent

 

 

I want to know how to call that URL.  I don't need to hyperlink to it.  I just want to know how to call it, and how to handle the response.  If you paste that URL into a browser, you will see a typical JSON response.

 

 

So my second question is...are there any JSON handlers included in the InDesign SDK?  Or any know third-party things that I can use?

 

 

Continuing with the twitter example, I would want to display the results later in a dialog box, formatted in a specific way.

 

 

Anyone one with suggestions?

 

 

Thanks.

lyadav

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points