api

Server side virus scan on a file for Windows

I need to scan uploaded files on a windows server through my ASP.NET web app. However, am not aware if anti virus packages come with an "api" sort of a thing using which i can programmatically trigger the scan. If possible i would really want to avoid any kind of windows scheduling to trigger the antivirus and then report the errors. ...

PublishPost method example for Actionscript API Facebook connect required

I established an extended permission with Facebook connect, works like a charm, but i just can't seem to publish messages on my wall. i keep getting this error: error code 100: Invalid parameter my code: var message:String = "test facebookconnect"; var publishpost:PublishPost = new PublishPost(message, null, null, null); publishpost....

AutoCad EndPlot event firing too soon in (C#, API)

Hi, i am leveraging the AutoCad API's to do the following... 1] open autocad 2] load a document 3] print the document 4] close autocad All this is working fine except for the fact that autocad is closing too quickly before the document has finished spooling off. To get around this i have subscribed to the EndPlot event (printing has fi...

How can I use FBJS to prompt users to post feed in facebook?

Tried sth like below and nth happens.. <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script> <script type="text/javascript"> FB_RequireFeatures(["XFBML"], function(){ FB.Facebook.init("<?=$apiKey?>", "channel/xd_receiver.htm"); var api = FB.Facebook.apiCli...

Java ME: Are there some good opensource APIs which make the limited Java ME more Java SE like?

Hello! Recently I started playing around with Java ME. The standard API seems very limited to me, compared to recent Java SE. Are there some good opensource APIs which would make Java ME more Java SE like? ...

search address on google map api

hello i rewrite the message for better understandnig how can i search for address only using google map api. if i will search for adderss i dont want google give a bussiness with the same name of the address ( i don't want to get bussiness at all) thanks for your help. ...

overhead of using local http calls

Hi, I'm developing a wrapper around an existent RESTful API. I basically have to do some preprocessing, calling the underlying API, and some preprocessing, with a little bit of cache in the middle. The API is specially designed for RESTful access via http. My question is, should I refactor the API so I can invoke it via code, or should...

Facebook API call- "This API version is deprecated"

I'm trying to call to Photo.upload on the the Facebook API server. As far as I can tell the code to construct the call is good but I can't understand the responce I'm getting back from the server. As far as I can see, this call is ment to work and other people don't get this problem. I can only reason that something is wrong with the cod...

Why am I getting a 401 (Unauthorized) error when POSTing to Google Reader API?

I'm trying to interface with the Google Reader (undocumented/unofficial) API using information from this page. My first step is to get a SID and token, which works fine, but I can't seem to POST anything without getting a 401 error. Here is the code I'm using to get my SID and token: static string getSid() { HttpWebRequest...

How Can I Authenicate Users of my API

A website that I co-own has been asked us to add some content to our site which is great advertising for us. The catch is that because of the nature of our company, we have to be very careful about who has access to our site. (We distribute music for labels to radio stations) Following so far? So I have started a new page for the conte...

How to set up Webtrends to segment paid search campaigns?

Hiya, I'm trying to learn how to set up Webtrends Analytics to segment paid search properly. I've dug up the fact that you need to pass "WT.srch=1" over in the url from the advert, but are there other parameters which you can use to segment: Campaign Adgroup Ad network I know you can do this with Google Analtics at the drop of a bu...

Updating profile with python-twitter

I am trying to update my Profile info via python-twitter module. >>> api = twitter.Api(username="username", password="password") >>> user = api.GetUser(user="username") >>> user.SetLocation('New Location') The problem is that it is not getting updated and the documentation is unclear if there's another step I need to do - is there a "...

Unable to find an entry point named 'GetProcessID' in DLL 'kernel32.dll'

Hi im trying to get a processID out of a process handle using the WINAPI 'GetProcessID' but i am getting the following error... Unable to find an entry point named 'GetProcessID' in DLL 'kernel32.dll'. Checking MSDN i cant see where i have gone wrong.. ...

Looking for recomendation sources for learning how to create API?

Hi, Does anyone have any good source that I can read how to develop API for C++ or C#? Thanks in advance. ...

Which C#/.NET Twitter API do you recomend?

I wondering if I'm going to make a twitter app, but not sure which one of these libraries I should use. Any suggestions? C#/.NET Libs The app should be able to post new tweets, read tweets(from "All Friends"), read "Mentions" and Direct Messages. Possibly also a search function... ...

Memory leak traps in the Java Standard API

What classes of the Java Standard API can cause memory leaks when used in an (not obviously) incorrect way? And how can these memory leaks be avoided/fixed? Example: ObjectInputStream and ObjectOutputStream keep references to all objects they have seen in order to send subsequent occurences of the same object as references rather than c...

GeoLocation API

Hello all, I have just come across this great API: http://ipinfodb.com/ip%5Flocation%5Fapi.php However, I would like to also retrieve the continent. Is this even possible as I can not find it. Maybe there is another API that is freely available that will offer city, country and continent? I have tried Googles AJAX API but they don't o...

what language is the following code written in? Thanks

void LeftClick ( ) { INPUT Input={0}; // left down Input.type = INPUT_MOUSE; Input.mi.dwFlags = MOUSEEVENTF_LEFTDOWN; ::SendInput(1,&Input,sizeof(INPUT)); // left up ::ZeroMemory(&Input,sizeof(INPUT)); Input.type = INPUT_MOUSE; Input.mi.dwFlags = MOUSEEVENTF_LEFTUP; ::SendInput(1,&Input,sizeof(INPUT...

Posting to Blogger using PHP

I'm having a problem getting the Blogger API for PHP to work. What I need is to be able to post a new blogpost to my bloggeraccount. The code I'm using is taken from the Google API page here : http://code.google.com/intl/nl/apis/blogger/docs/1.0/developers%5Fguide%5Fphp.html Here is my code : <? require_once 'Zend/Loader.php'; Zend_Lo...

Twitter API Limit

I have heard that Twitter limits the number of API calls a third party app can make per hour. I believe the limit is around 100. My question is, does that limit apply per user, or is it 100 calls per app? 100 for the entire application seems very low, but I wanted to make sure and I couldn't find my answer in the documentation I was re...