api

Mercurial API for C#

I'm looking for a Mercurial C# API. The only one i can find goes to a 403 page on google (http://code.google.com/p/mercurialdotnet/). Does anyone know of one that I can use? ...

why I got "org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted exception?

I wrote this code but the mentioned exception thrown. what's wrong, please help? this is the code : //-*-*- FileInputStream input = new FileInputStream("cv.xml"); XMLStreamReader reader = XMLInputFactory.newInstance().createXMLStreamReader(input); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ...

Why is this Twitter API script failing?

I'm getting an error from this Twitter script that is causing the rest of the page to not load. Not sure why suddenly this is happening, where it was functioning properly for quite some time. The script looks like this, and it pulls the users current status: <?php $response = new SimpleXMLElement('http://twitter.com/users/show/tuscar...

getting facebook most shared stuff

I was looking at websites like http://itstrending.com/, facediggs.com/ and I'm questioning myself how do they extract the most shared topics from facebook? I would like to build a similar widget for my blog. I searched the API but couldn't find anything. ...

Facebook API - a simple integration question - WALL + Like Box

Hello, I would like to display my wall (of my facebook) on my website. But, I would also like to add a like box next to it. It seems however, they I cannot have both, because: It seems that, once the user logs in (after pressing the LIKE button), my website looses the login and my wall can't display the information anymore. As anyon...

Is there a way to only search for specific kinds of books such as textbooks with Google Book Search API?

I noticed that there are a few a classes such as CategoryFilter that can be used on the VolumeQuery in the Google Book Search Java API. Could this be used for only searching for specific kinds of books like textbooks, or is there a better approach to this kind of search? There doesn't seem to be too many examples online or details in the...

How my rails app can handle twitter echo & verify_credentials.json?

How my rails app can handle the incoming headers of a request like: curl -v -H 'X-Auth-Service-Provider: https://api.twitter.com/1/account/verify_credentials.json' -H 'X-Verify-Credentials-Authorization: OAuth realm="http://api.twitter.com/", oauth_consumer_key="yTrEIQH6jhtmLUypg8T5", oauth_signature_method="HMAC-SHA1", oauth_to...

How far back in time can you go with the Facebook API?

With the Facebook API are only recent things (wall posts, friends status updates etc) obtainable or is everything ever associated with the user's account obtainable? ...

Read Omnifocus tasks from a local HTML file

Hello, is it possible to read Omnifocus tasks from a local HTML + JavaScript file? I have found nothing so far, but maybe some weird hack exists. Best, Stefan ...

Create YQL for sites which do not have an API.

I plan to create a YQL open table for a site which does not have an XML/JSON based API. I plan to use HTML scrapping to get data from the site and return it to YQL. Is this possible and is any of the Open Tables similar in nature? ...

Returning JSON from a PHP Script.

I want to return a .JSON from a PHP script, do I just echo the result? Do I have to set header content-types? Any help would be great! ...

Local Weather condition with google api

I use below tutorial for add local weather condition but this tutorial just add current weather does anybody have any idea about forecast weather? link text ...

Facebook API (Wall) Possible to let Facebook pick an image?

Facebook API (Wall) Possible to let Facebook pick an image? When you like a website you can enter the following URL: http://www.facebook.com/share.php?u=(some url)&t=(some title) you will be brought to a page where a default image is showing and you can even browse through the images on the website to choose another (if available). Thi...