api

Capturing a webclient response and saving it to a variable.

I have the following code: private void UploadSelectedImages(ListBox.ObjectCollection objectCollection) { foreach (var photo in objectCollection) { using (var w = new WebClient()) { var values = new NameValueCollection { { "key", "<MYAPIHERE>" }, { "image", ...

How to obtain the phone number when reading facebook contacts

I thought it was impossible to read phone numbers of contacts using facebook APIs, but "Facebook for HTC Sense" android application is syncing all that information to my local agenda. Somebody knows how are they implementing this feature? ...

Twitter clone with API similar to Twitter?

As we all know, Twitter consistently has problems keeping their service up and running. There are literally dozens of Twitter clones out there. Does anybody know of a Twitter clone with an API that is as similar as possible to Twitter's API as possible? Thank you. ...

How to check if a database exists with ODBC

Hello fellow programmers I have been searching the internet for a few days now and can't find a generic method to solve this with only ODBC and SQL. Is there a way to see if a database already exist, only using ODBC. It has to be standard SQL because the user can chose a DSN of his choice (meaning his own SQL Server). This means I can...

Simple image editing service with API

I have been using Snipshot's API to provide simple image editing inside a web application. Recently they started injecting ads into the page and aren't providing anyway to remove them, even for paid accounts. So, I'm looking for another service. Key features would be that it is simple, easy, and light on any external branding. Picnik is...

Which web hosts have an API?

I'd like to create a website creation tool that allows the user to publish their website on the web. I don't want to do the hosting side of it, so I'm looking for a web host that offers an API so that my app can programmatically create user accounts, upload files, etc. Note that FTP isn't enough because I want the user to be able to do ...

get current latitude and longitude from gps enabled device

Dear all, I would like to get the latitude and longitude of current location from gps enabled mobile device right from the web browser. May I know is this possible? how to do it? does it require geolocation api? Some coding example would be helpful. Thanks. ...

Configure PowerPoint using interop API

Hello. I am using powerpoint interop API to open a slideshow from a new instance of PowerPoint (in this case, PowerPoint 2007). In my app, I need to avoid the mouse changing the slide or showing up the right-click menu, so I manually configured that in PowerPoint. What I did: 1.- For left click I went to "Animations">"Advance slide" ...

How to query an api in Android?

Hi, is it possible to query a website's api from an android app? If so, how to do you handle the return if it's in xml? Thanks ...

jquery grab Google Maps API elements

Hi, I'm trying to get all of the links in my marker's InfoWindow to have a different behavior but I'm not able to grab them with jquery. When are they actually rendered to the dom? I'm currently calling them the $(document).ready(function(){ function. I also tried calling them directly after I create the markers. createMarkers...

Facebook FB.api post how to specify a target

Hello, I am using FB.api OpenGraph to post a message on the user's wall. I would like the link target to be equal to '_blank' so it opens in a new tab. Is it possible ? The Facebook documentation doesn't give much details. var params = {}; params['message'] = 'message'; params['name'] = 'name'; params['link'] = 'http://link'; ...

Hoe to get more than 64 records from Google API for web search

Hi all, i am using Google api to search on web, but i realize that Google api only returns 64 records, could u please tell how can i get more than 64 records from Google web search API? i had tried these http://ajax.googleapis.com/ajax, GoogleSearchAPI_0.4_alpha, GoogleSearchAPI_0.3.1 but all are giving me only 64 records. ...

Facebook Graph API Set a Valid Session

Okay, I am attempting to use PHP Sessions to maintain my Facebook Session info (user, access_token, etc.) so that I can pull in data feeds from other pages securely for my members. I thought it might be as simple as attaching the access_token to a $me graph api call and catching an expired/invalid session or if the access_token is valid...

extracting linkedin recommendations for display on another webpage without log-in

I am building a wesite for a client who has requested that his LinkedIn recommendations be displayed on one of the pages. Is it possible to do this using the LinkedIn API, or some other tool, without requiring viewers to log-in on the page? Ideally I would like to also be able to control the formatting so that it matches the rest of the ...

What are the advantages & disadvantages of having your own database for OpenStreetMap?

Hi! I'm doing a Route Planning Application using OpenStreetMap. The target area is the National Capital Region of the Philippines. I need the road vector data and some of the other POIs for the project. I'm thinking if it is better to get the data (the .OSM files) and place it in my own database or contribute to the Online database inste...

Connect to TFS via API behind a Webproxy

Hi, I have to connecto TFS via API which already works fine when i am within my lan. But now i have to connect to a TFS over a webproxy. I am able to connect to the serverstatus.asmx via browser. I already tried to set a environment variable and added the property to app.config - but without success. Now i tried to do the same with a h...

Setting targeted version of plugin to avoid NoSuchMethodException

Im building a plugin in Eclipse 3.6, but I want it to be compatible with Eclipse 3.2. I just got NoSuchMethodException, because I used some new API. is there any way to force eclipse to check if im not using too new methods? When I created plugin i chose eclipse 3.2. ...

Cause of SharpSVN Exceptions popping up what appears to be randomly when trying to Export? [Solved]

I know something is going on, but I cannot determine why and the Exception strings are so vague... I have no clue why some things are failing and why some are not. These execptions occur when I attempt to Export a file at a revision to the file system. Here are the exceptions: SharpSvn.SvnSystemException: Can't move 'C:....\tempfile....

Is it possible to get a RSS feed of a reddit with links to posts with X upvotes?

I created a subreddit that I am connecting to a twitter account via twitterfeed. Currently I have it pointed to this RSS feed. I would like to filter this RSS feed with posts that have X upvotes such that only the good posts reach the Twitter account. Is there a way to do this? via API or otherwise? ...

How to download from Rapidshare with API (PHP)

i write this code for downloading from rapidshare.com but it does not work ,why? //rapidshare.com/files/229854091/Travian-Server-PHP-Script.zip $file_id = '229854091'; $file_name = 'Travian-Server-PHP-Script.zip'; $URL = 'http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&amp;fileid='.$file_id.'&amp;filename='.$file_name; $...