api

Securing web-API access

Prologoue: I have a simple web-API accecible over HTTP with some corresponding mobile apps reading that data. Now someone decompiled an app / sniffed the HTTP traffic, got the url to my web API and build his own client acting like one of mine. How can i secure the access to my API only for my own clients? Even with the thaugt of someon...

OAuth (Twitter, Facebook, LinkedIn, etc) on Rails

I would like to connect to those applications which provided OAuth API (such as fb, twitter). Is there a relatively easier way to integrate those APIs? I have successfully used linkedin gem which can connect to LinkedIn OAuth API. But I really don't want to install a gem for dealing with a single application, where those applications p...

iPhone API libraries for popular websites...

What are (open source) libraries for iPhone that allow your user to interact with popular websites? Twitter, Facebook, Myspace, Ebay etc... Please post as much of the following as you can: the name of the website that the library is used to interact with the name of the library the author's name a link or download information the l...

Get Facebook Status from Fan Page using API

I've been trying to get the most recent Facebook Status for a fan page via the API for a while now and can't seem to get what I'm after. I'm really trying to avoid using RSS for it. I can get the full list from the feed via https://graph.facebook.com/174690270761/feed but I want only the last status posted by the page admin, not by anyon...

Insert API in a web page .class path

Hi! I would like to insert an API java into a web page. Even with such an easy code: applet code = 'Ejs.Simulations._apps._examples.HVmin' archive = 'Ejs/Simulations/_apps/_examples/HVmin/hVmin.jar', width = 300, height = 300 /> I get this error: cargar: clase Ejs.Simulations._apps._examples.HVmin not found. java.lang.Class...

Why should an API return 'void' ?

When writing an API or reusable object, is there any technical reason why all method calls that return 'void' shouldn't just return 'this' (*this in C++)? For example, using the string class, we can do this kind of thing: string input= ...; string.Join(input.TrimStart().TrimEnd().Split("|"), "-"); but we can't do this: string.Join(i...

How to temporaily block map zoom using Bing Maps API?

I am using Bing Maps API and I have to temporaily block zoom. Plese tell me how to do that using Java Script? I relize that I have to block some key controls and remove + / - buttons from default Bing Map controls. Edit; To hide controlls I can use VEMap.HideDashboard Method. But how to block response for some keys? Do I have to overloa...

Using Someone else's COM Interop DLL

Hi, I'm trying to use an API that my client has a license to. I was given a COM Interop DLL. I can write all of the code I need, but when I go to run it, I receive the following error: Retrieving the COM class factory for component with CLSID {73C527F2-C6C0-4F4B-92F7-1448EC342FC5} failed due to the following error: 80040154. Any idea...

C++: using std::wstring in API function

I'm using the SHGetSpecialFolderLocation API function. My application is set to "Use Unicode Character Set". Here's what I have so far: int main ( int, char ** ) { LPITEMIDLIST pidl; HRESULT hr = SHGetSpecialFolderLocation(NULL, CSIDL_PERSONAL, &pidl); /* Confused at this point */ wstring wstrPath; wstrPath.resiz...

Google maps, where is my code faulty?

I don't understand what is wrong? is it my Xelement call or is my flex file incorrect? private void button2_Click(object sender, RoutedEventArgs e) { XElement call = new XElement("invoke", new XAttribute("name", "clearMarkers"), new XAttribute("returntype", "xml")); try ...

What are the open source software that i can use to develop interior design software?

I need to develop an interior designing software :) Much like a virtual room designing software. There will be pre-designed 3D objects and they can dragged on to the room. You can change the room size etc... Much like a conventional home designing software :) After the room is designed i should be able to to make the user walk through...

Amazon Mechanical Turk API. Example Creating a HIT from PHP

I need to create a HIT using the Amazon Mechanical Turk API from PHP. There's no examples at the official documentation and no PHP librearies or SDK. Does anyone know how to do this? any kind of help is appreciated, a PHP example will be great. ...

Making a custom PHP form by using a custom API

I am trying to make a simple module for phpBMS. It is mostly straightforward, and it is quite easy to make a form and define a table to add, remove or modify records. Here is the sample provided by the project, which is what I have been following so far. Now, I have a more complex need than simplifying adding or modifying records. I ...

I want a package of google map api development,who can help me?thanks~!

I want a package of google map api development,who can help me?thanks~! ...

Question about SVG path specification regarding absolute and relative path definitions

Hi all! Currently I'm developing an app that converts svg-paths created by Inkscape. Now I'm not clear about the path specification regarding absolute and relative path-combinations. Does the specification say anything about a path definition, that holds relative and absolute coodinates at the same time? Espacially the case regarding an...

is there any way by which i can get stock quotes real time just as Google or Yahoo does?

does anyone know how Google or Yahoo get the stock quotes as NASDAQ or NYSE is not providing any APIs? Can we actually replicate what they do? are they using the crawl method itself or rather is crawling actually possible to get such data realtime? ...

Copy a single large file (>100 MB)using the manual CreateFile()

Hello all, I want to copy a single file, fairly large (+100MB) using CreateFile(), ReadFile(), and WriteFile(). My program successfully copied text file and other small file (in the range of KBs), but when I wanted to copy a 160 single .EXE file, it crashed and the debugger said "Stack overflow" ...

Programmatically control YouTube from Facebook Page App?

Hi, I'm aware of the YouTube API, and of Facebook w/ FBML/XFBML and What I'm looking to achieve is the playing/navigating of a sequence of (20+) videos, to which the user should have direct access (i.e. thumbs/links), so I don't think a playlist would suit the bill. I'd like to avoid embedding 20+ players in various visible/non-visi...

Is there any API available from Monster for searching job

Is there any API available from Monster to search job based on keyword, category, location, etc. I got the below link after some googling http://xml.monster.com/doc/ But there is no specification about job search. Any help on this is greatly appreciated.. ...

Is there any reliable API to Get Windows Folder in Windows?

Is there any reliable API to Get Windows Folder in Windows in C++? I am using the following way, however it failed. BOOL CQUserInfoHelper::GetWindowsPath(CString& strWindowsPath) { TCHAR windowsPathTemp[MAX_PATH]; int nSize = MAX_PATH; ::GetWindowsDirectory( windowsPathTemp, nSize)...