api

Resources for programs teaching natural languages

What API's and data sets are available for use in programs to teach natural languages e.g. to aid in learning to read/write/listen/speak a 2nd language? These could be web or traditional API's to dictionaries, translation services, associations of words / concepts to images, sounds e.g. spoken words or phrases, movies, or sets of flashca...

Retrieve news feed using facebook API

Hi I have been looking for hours but cannot find the API call that retrieves a user's news feed (i.e the thing that you see at http://www.facebook.com/home.php). I think this should be something extremely easy. What did I miss? I would prefer an answer with FQL, but other API methods will be just fine, as I think I can translate between ...

Facebook API quit working. why?

I have an Facebook API that connects to Facebook, pulls the users name, and updates their status. Up until at least Monday afternoon, it was working properly, but as of Tuesday afternoon, it hasn't worked. I have tracked it down to the fql_query call in the api file, that is not returning the user info. When I do a login, I get the us...

How to introduce a special case in the API design?

I'm developing API for a library which will be used by a customer. The library should provide single interface to access several remote resources. So, I should create API and several its implementations (correspondent to the number of remote resources). I met the next problem: all resources except one has API for logging in. So, I can ...

How does GetProcAddress work

I've done some googling but haven't really found much. How does GetProcAddress work? What goes on behind the scenes? Do the method names and their corresponding address get stored in meta data somewhere? ...

US Government APIs?

I'm working on an app to provide an easy way for people to track the status of a bill [and various other political information]. I love the idea of OpenCongress, for instance, which surfaces summary information on legislation as it navigates the political process, but I'd like it if it had a tag-based search system and some other rich s...

Could 16bit .com executables call win32 APIs?

Any minimal example of 16bit .com display a window GUI using Win32 API on Windows? ...

How to get twitter user timeline in C# using Twitterizer

i have the following code. Twitter t1 = new Twitter("twitteruser","password"); TwitterUser user = t1.User.Show("username"); if (user != null) { TwitterParameters param = new TwitterParameters(); param.Add(TwitterParameterNames.UserID, user.ID); ...

YouTube player loops in Safari

If you take a look at www.tvskive.dk with a Safari browser, the videoplayer just blinks, like it's in a neverending loop?? Cant quite figure out the problem ...

NHibernate : Count childrens' children

I have an entity type A. Which has many B's. The B entity has many C's. I need to count how many C's does an A entity have. How can this be done using NHibernate Criteria API? Using LINQ to NHibernate I was unable to get results since it throws an exception (see this question) ...

How can I add a URL to the download manager in a Chrome Extension?

I've been working on an extension that checks for certain URLs in page content and lets the user put a button to automatically put these into the download manager. I've gotten everything I need, but how do I actually tell Chrome to put the URL into the download queue? ...

Matlab repmat function equivalent in c++

Is there an equivalent in c++(in any API/library) for Matlab repmat function ? ...

Parse then Store XML Data from API in Ruby on Rails

Hello All, I know there have been a ton of entries about this topic but I haven't seen the complete picture yet of how to store the data. I am trying to make a system that reads then parses then stores information about events from the Yahoo Upcoming API. The url returns a pretty simple xml that looks like this <event> <id>489875230<...

Choice of GPS receviers with API for tracking location on Google Maps (Live)

hi, i was wondering if anyone knows of any gps receivers that have a fairly good API.. I am hoping to develop a simple app that will show my location (live) on google maps using the google maps api but of course would need an recevier that i can interface with too whilst on the move. Cheers. NB: Work would be done in c#. ...

How to login to Linkedin website programmatically in C#

I am using LinkedIn API for search. I wish to implement a feature where a user can search but will not need to login. Login can be done programatically using my own credentials. I am stranded at a point where I do not know how to enter email and password in c# and then redirection will take place to my callback-url once Grant Access bu...

Google Calendar API / embeded calendar onclick events

We're considering dropping google calendars into a web project I'm working on. We'd like to be able to click on the calendar at a particular time and instead of having it create a Google Calendar event have it redirect to one of my own pages with the dateTime set as a parameter. Reason being I want to always be feeding events to Google ...

Adding Search Capabilities to my website

Instead of writing a PHP script from scratch, I wanted to know if there are any free scripts, plugins, or APIs out there that allow me to add a search box to my website to search only content on my site. Google's free version is ad-supported, and I am looking for a clean, simple, and non ad-supported solution. Any ideas? ...

Cant find the correct selector for jquery form click

This is a very basic question. I am building a website using the google custom search api to display search results on my page. By default, google displays the search-results box on the page (without any actual results) at all times, and the list is populated when the user clicks the search button. My goal is to hide the search results b...

Changing Input Background Color on Google Custom Search

Although this seems like a simple task, I need to change the background color of an GOogle Custom Search input field. You can view the page here Currently, the input field is white, and I need to change it to #4e4e4e. The problem is that I cannot seem to find the correct CSS selector to set the background color. It looks like the google...

REST API in PHP output to JSON file extension

So I want to write a REST API in PHP for JSON for consumption on the iPhone, but also a lot of websites and devices. I have the below code, when accessed via a GET statement, returns a file like: 1mdi2o3.part How do I return something like: users.json $db->setQuery( "SELECT * FROM users"); $db->query() or die($queryError); $numRows ...