api

Does closing the inputstream of a socket also close the socket connection?

In Java API, Socket socket = serverSocket.accept(); BufferedReader fromSocket = new BufferedReader(new InputStreamReader(socket.getInputStream())); PrintWriter toSocket = new PrintWriter(socket.getOutputStream()); //do sth with fromSocket ... and close it fromSocket.close(); //then write to socket again toSocket.print("is socket conne...

Facebook Graph API for non-English searh terms

when I try to search non-English search-terms like https://graph.facebook.com/search?q=手机&type=post 手机 = mobile phone I only got 12 posts about it. I think the real amount of recent posts in Facebook talking about this term should definitely be much more than 12. Is this because there are really not many people using non-English c...

Custom maps in Android, loading via tiles (alternative for RouteMe for iPhone SDK)

Hi, I am working on a prototype port of one of our iPhone apps to Android. The iPhone app uses the RouteMe API to load our own custom maps into the application. (also tiled, just like Google Maps itself, so only loading what you see at that moment - this is very important in this case) I have been searching for a similar product for A...

Enterprise Web Services / Date Exchange Suggestions

Hi Lords of the Interwebs, I've got a Silverlight project that I'm just beginning and I thought I would pick your brains a bit. I'm deciding on a data model to communicate from server to Silverlight client. My boss made the comment that he might want that data model to evolve into API's that could be used by various clients in the fut...

How to run Hello World app on MySpace?

I try to wrote MySpace app. My OAuth Consumer Key: is http://www.myspace.com/551804372 and OAuth Consumer Secret is 4d6898d03b24491abc57e98f67508c7e828f9821d84d433b8b541f1865a89fa6 Is used your tutorial: http://wiki.developer.myspace.com/index.php?title=Example_Application:_Hello_World to create APP. I set app to "External ...

Is there an API to the Visual Studio class diagram graphical components?

official or unofficial. I've been digging around the VS assemblies with Reflector, with no success so far. ...

Creating an API for mobile applications - Authentication and Authorization

Overview I'm looking to create a (REST) API for my application. The initial/primary purpose will be for consumption by mobile apps (iPhone, Android, Symbian, etc). I've been looking into different mechanisms for authentication and authorization for web-based APIs (by studying other implementations). I've got my head wrapped around mo...

Twitter serach api question

I know you can search for tweets on a specific date, but what I am looking for is a return of the actual count/number of those tweet in that search. I'm trying to figure out the number of tweets per day pertaining to the search. Using the twitter search doesn't seem to do this. Is there a way to do this? Are there other tools out there ...

Bank of America in iphone app

hi i have made an app and need to implement Bank of America account usage in it i have hear that Bank Of America provide API for IPhone........ where to get it and how to use ? please help.... ...

Facebook page insights via API

I would like to access the insights of a Facebook page via the API. It is very well possible to obtain the insights of a Facebook app via the graph API, but I cannot find something similar for Facebook pages. Am I missing something? Specifically, I am looking for stats such as total users, active users, posts, etc, preferrably over time...

How to call store procedure in MySQL uisng PHP and display the value return by the store procedure?

Hi I got stuck not knowing how to create API in PHP. I have store procedure that I created in the MySQL and want the PHP to call that store procedure and use the value return from the store procedure as return value of the API. There might be many ways to do it and I would like to know all of them and want to know how they are differen...

Google API Request Limit

Does anyone know where I can find Google API Request Limits for their different services? On simulating 500+ concurrent users it seems to fail silently fairly often (maybe 1 in 10 loads) Any ideas? ...

Rails & FreeagentCentral API Usage

Hi Everyone, I have a rails application that uses the FreeagentCentral API to create new projects in FreeagentCentral when a new case is created in my application. Once the case has been created, I link to the created project in FreeagentCentral using the following link code: <%= link_to "#{image_tag('/images/icons/freeagent.png')} F...

Create a SOAP header?

How do you add create a SOAP web service header? Example <soap:Header> <myHeader xmlns="https://www.domain.com"&gt; <Username>string</Username> <Password>string</Password> </myHeader> </soap:Header> source code using System; using System.Collections.Generic; using System.Web; using System.Web.Services; using ...

Embed private Google spreadsheet

Hi - I'm trying to work out the best way to display a Google spreadsheet in the members section of a website. Although the info in the spreadsheet isn't hugely sensitive, I'm not keen on publishing it and embedding it using an iFrame, so am trying to find a way to embed the spreadsheet while still keeping it private. I've tried using t...

SOAP header: why authenticate in the header and not the body?

SOAP header: why authenticate in the header and not the body? whats the differences between putting the user's credentials (username/password) in the header vs the user's credentials (username/password) in the body? ...

building floor plan in google map api

Hi, We have floor plans of a building in png format. I want to provide Google Map API( or any better Map solution) to the client to locate the buildings from a world map. The requirement is when the user clicks on a building, it has to load my floor plan of the building in the canvas. I was looking into overlays and mashups. Not able to ...

Facebook create page through the FB JS API

I've not found a way to create a FB page through the FB JS API in FB docs or Google, somebody knows how to create a new page (a business, artist, etc.) hrough the FB JS API? Thanks in advance ...

foursquare API and java

I am planning to develop a very simple java application (not mobile, but desktop apps) that utilizes web services, specifically Foursquare API and Google Map Web Service. I plan to get the users address and then using Google Map to translate the address to lattitude and longitude then feed this result to foursquare API method Venue metho...

Sending queries to google using python

Hi, I need a code with which I can send queries to Google and get the results back for some processing. i am mostly interested in retrieving the snippets of the results. It would be nice if I can do this without installing any extra packages for Python. A pre-written api would also do the trick. Thanks ...