api

Standard Place for an Empty String Array in the JDK

Hi is there a standard place for accessing empty array constants in the JDK > 1.5. When I want to do a conversion from a String Collection (e.g. ArrayList)to a String Array I find myself using my own which is defined in my own Constants class: public static final String[] EMPTY_STRING_ARRAY = new String[0]; And then in my client cod...

Google Wonder Wheel API or js widget

Hi, do you know a Google API or a jquery js plugin to visualize the data like "Wonder Wheel"? I'd like to use this widget with my data. http://bit.ly/dysDQn ...

How to use Windows live contacts api to allow users to import contacts

I can't find a good, simple tutorial on how to achieve this in PHP / Javascript. Basically the same thing FB has where the users specifies their hotmail account and then gives permission to FB to access their contacts. As the API seems to have changed most tutorials simply don't work like: http://livecontactsphp.codeplex.com/ which d...

International weather API (PHP)

I'm looking for the best (free/cheap) international weather PHP API out there. Any suggestions? ...

How to create Empty Label without any entries in it using Google Mail API Ver 2?

Hi, I want to create an empty label in Google apps using Google Mail API. Using Below code: MailItemService mailItemService = new MailItemService(domain, "Sample Migration Application"); mailItemService.setUserCredentials(userEmail, password); MailItemEntry[] entries = new MailItemEntry[1]; entries[0] = new MailItemEntry...

how can we integrate myspace in my website myspace api

i want open myspace profile,friendslist and inbox messages from myspace to my website by using myspace api.I registered in deeveloper.myspace and i got applicationkey ,consumer key.I gave callback url also.but i am getting 401 error ...

is there any Free international timezone API?

is there any Free international timezone API? ...

Based on which criteria google AJAX Search API will give search results ?

Hi, I have used google search API to get the results of google search but it gives me different results as I have searched directly in google.com. So,if anyone know here how is it possible then let me know.why both results are not same for same search keyword ? ...

Ultimate chat-client API for .NET?

Does anyone know of a .NET API (source-code is preferrable of course) that I can access all the common chat clients thru it (GT, Yahoo, MSN, AIM, FB, ICQ, SKYPE and more)? I guess I am looking for a .NET library project that performs something like pidjin. I need it because I hate Pidgin's interface and functionality, and I want to hav...

Deleting YouTube videos using Zend/PHP

Hello, I'm using Zend and PHP to upload and delete videos from my home page. The uploading part is working fine but to download is more complicated. $videoEntryToDelete = $yt->getVideoEntry($videoId); $yt->delete($videoEntryToDelete); I use this code to delete a video and the first row do work. The video object is created and I can g...

Google Analytics API and Internal Search question

I'm trying to use Google Analytics API to query internal searches that happen on my site. I'd like to be able to query the keywords and the number of times that keyword was used in internal search, based on URL of a page on the site. The idea is to find out which keywords direct the user to a particular page. Does anyone know which di...

Display amazon books/products with PHP

Hello Guys, What is the best way to display amazon books/products on a website with PHP? Thanks, steamboy ...

Developing Mobile App (Iphone,Blackberry,Android) for an existing website

Hey Guys I have a website and am planning to develop a mobile version of it for the iphone, blackberry and android. My website is a social network built on PHP Zend framework. Now all these mobile apps are going to be having the same functionality like the website. I am little ignorant about this - but from a high level I understand t...

OpenSocial - Application Id parameter

Hey, I'm writing a program and i need to uniquely identify a widget so that I can persistantly refer to it. In generating a hash using the ModuleId, ownerId and application Id. MySpace doesnt seem to pass the opensocial_app_id parameter when using OAuth. Does anyone have any ideas of other ways to identify a widget/profile box or know...

Facebook RESTful API require_login() callback

Hi, I'm trying to authenticate a user through the RESTful API (not Connect) but I can't since the callback system does not work for me. I have a local app that creates the Facebook API object with my key and secret, then calls the Facebook API require_login() method; I am sent to Facebook login, I login, and then I am sent to http://www...

Google Vizualization with CSV data

Hi, I have a URL that returns data in CSV format. I would like to use Google Vizualization to create an interactive chart of the data. I've looked at several examples on Google Chart and Vizualization web page but I'm a bit confused as I'm not familiar with JavaScript or web programming in general. Question: Do I have to use JavaScri...

How Does the Office Communicator Presence Status Work?

Hi, I'm interested in finding out more about the Microsoft Office Communicator IM client, and how it determines your presence (i.e if you are at your computer or away). Can anyone point me towards a tutorial that explains this, or details of the API? Thanks, MagicAndi ...

Problem PHP with cURL

hi i have a problem with cURL and php. I use an API and i want to display only the results. Here is my php + curl script <?php $file = "http://api.openkvk.nl/php/".rawurlencode("SELECT * FROM kvk WHERE kvks='20147376'"); $ch = curl_init(); // set URL and other appropriate options curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt...

Give people a price on my website when they join my facebook network

I was wondering if it is possible to give people something when they join my network on Facebook. I am working on an website where people have to buy credits to get certain services. I want to give them 3 free credits when they join the group on Facebook. Is this possible? I am also new to Facebook, so i don't know what to create. Sho...

Google Maps API V3 not equal to Google Maps site on distance between two zipcodes

Hello, I have put together some code to calculate distances between two zip codes. When I enter the zip codes through the api I get a different distance than I do with the actual google maps site. Anyone have an idea on why this is occurring? A few ideas I have are: I am not centering to the zip code -> I was looking around to see how...