A common pattern within jQuery is a method that takes a callback which is passed an element of an array and its index within that array. However, it seems completely random which argument comes first. For example, from the jQuery docs at http://api.jquery.com:
jQuery.each( collection, callback(indexInArray, valueOfElement) )
.each( f...
I'm currently stumped on how to approach this situation.
my application is a content sharing system that requires the user to load my javascript file that would position a button for sharing and on click it would automatically collect content from the page and publish it to my application.
My question is:
What is the best way to find ...
I would like to create an API. I would like it to be a REST API. However, I don't know the first thing about creating an API. Especially one that involves authentication. I'm looking for a guide that can help me understand how and why I should build my API a certain way.
...
Hi,
What should be the right approach to reuse GCC-XML parser utility inside any other Windows C++ native or C# .NET application ?
I read that it is used by some libs like pygccxml, PyQt, it is not yet clear how. Please enlighten me.
Seems no API documentation is available...
Thanks
...
Existing method of posting values to API
As per the API documentation, a form has to be posted to the API URL (method="POST" and action="API_URL") with some input fields and a customer token field. The API processes and then posts response to a callback.php file on my server (fixed - can't change it). The page redirects to the API URL an...
How to transfer data from ipad to bluetooth device via bluetooth using private api
...
Hey,
I've been working on a small little application, and I've been using DirectX/3D to draw textures to the screen (all 2-dimensional elements). The API, I find, is pretty easy to use and to incorporate using OOP principles, but I can't help but feel that using DirectX on something this small is insanely over-kill.
I can't seem to fin...
How can I intergrate google map in php and mark the places there in the map dynamically. I want to show areas with specific details from database to google map
...
I'm trying to use the EBay Finding API to send an advanced search request and return the results. I have included my code below.
For some reason when I get to the following line:
FindItemsAdvancedResponse response = service.findItemsAdvanced(request);
the object called "response" is coming back as null.
I'm not sure where I'm going ...
Hi all,
As we' re designing our brand new social media platform, we' ve decided to construct our site on a Restful interface. Later on, this restful interface will be used as a public API by our visitors.
I heard several rest frameworks like Restsharp, Hammock etc.
Which one is best? Do you have any experiences with any of these? What...
So I have a basic form for the users Name, Email, Address, and Gender. At the end is a normal Submit button and the Form's action is a file called register.php which uses POST. It then does a standard check to see whether the information entered was correct. But now I want to integrate PayPal payment into it.
Now, if you can head over t...
What is the best REST API documentation that you've come across?
What did you really like about it? HOWTOs? Videos? Code snippets? Browser based API explorer?
For example, I quite like the Flikr API documentation - http://www.flickr.com/services/api/flickr.photos.search.html, especially the API explorer.
The SOAPI-Explorer is also...
I'm not sure how to go about doing this.. I want to add a Paypal "buy now" button on my website and when a user pays I want to save the date they paid into the database using mysql.
How would this be possible?
...
Hi, everyone,
I want to ask a question about the apple API. Does apple provide some APIs for the developer to access the Facetime function, just like the ABPerson can access the address book. Thank you very much.
...
I've been doing some payment-integration work lately, and the PSPs I've been working with have been painful to integrate against:
the back-end interfaces seem be stuck in the 90s in terms of usability and technology (frames! Argh!)
the APIs are badly documented - finding a list of example responses, or a complete list of errors is har...
Hi, everyone,
I want to ask a question about the iPhone application. Does Apple provide any API to the developers to record the phone call and convert it to text message? Thank you.
...
Hi,
I need an API or Service to convert a currency to Euro with the values of a specific date.
Example: I have 12USD and the date 2010-08-01.
This webpage offers exactly what I need:
http://de.finance.yahoo.com/waehrungen/waehrungsrechner/#from=USD;to=EUR;amt=12
But I need it as an API to get the values from inside a Java-program.
I fo...
I was just curious to know when will Java se 7 release and what will be the major things added to it...
Is this the final API?
Should i make this question community wiki?
...
Hello,
I've setup a script which allows users to post messages to a fan page on Facebook. It all works but there's one small issue.
The Problem:
When the post is added to the page feed it displays the posting user's personal account.
I would prefer it to show the account of the page (like when you're admin of the page it says it came ...
Hello ,
Please forgive this question if its a bit dumb, but I am new to php and slightly lost.
I am trying to write a little twitter client, where the user's timeline updates come from the Twitter Streaming API (it is not complete but for the sake of design it will do).
The process would be:
User signs up-> I add him to the list of u...