api

Rails / omitted from link_to?

Hi Everyone, I am using a Gem to communicate with FreeagentCentral via their API. I have the following code to display a link to the relevant freeagent project: <%= link_to "#{image_tag('/images/icons/Spinning Beach Ball.png')} Freeagent Project", "#{Freeagent::Base.site.to_s + Freeagent::Project.element_path(@kase.freeagent_id).gsub(...

Change Facebook profile image via API

Is it possible to change someone's profile picture via the Facebook API? ...

LinkedIn API returns 'Unauthorized' response (PHP OAuth)

I've been struggling with this one for a few days now. I've got a test app set up to connect to LinkedIn via OAuth. I want to be able to update a user's status, but at the moment I'm unable to interact with LinkedIn's API at all. I am able to successfully get a requestToken, then an accessToken, but when I issue a request to the API, ...

Getting Gowalla Check-in history using API

I have been playing around with the Gowalla API, and was wondering if anyone has found a way to get a list of all recent checkins (just your own, not including friends). The documentation is quite awful. ...

Disable comments/ratings with YouTube Python API?

Hi, does anyone know if it's possible to disable YouTube ratings/comments using the Python API? I know you can do it using the 'yt:accessControl' tag in the XML request but I have no idea how to build a request manually. Any help would be appreciated :) ...

Windows 7 DWM weirdness

I'm looking to write a FOSS "Alt+Tab" replacement (window switcher) for Windows, since there are a few features I feel it's (still) lacking; but I'm noticing two quirks I can't seem to fix: #1. (Somewhat Unrelated) In the default Windows 7 window switcher, one computer allows left clicking on a thumbnail to focus the window; however on ...

Learning/Using APIs

I've been trying to learn how to use the APIs available out there, but I can't seem to find any good book or tutorial out there. So... where can I start learning about using the available APIs (e.g. Twitter API)? I've only gone to Wikipedia so far. ...

What is the best tool to achieve this API design?

Our web app offers a service that allows a "Publisher" to create a website (we give them a CMS system) that is ready to provide this service to "Members" (think Shopify). We have some possible clients that wish to become "Publishers" but they already have existing websites (vbulletin, word press blog, etc) with their own user base. We ...

Programmatically retrieve a list of a user's Facebook pages

Greetings, Using the Facebook API, I have obtained an OAuth access token for a user. I can use it to retrieve information about the user and post to their wall, etc. I'm trying to figure out how to (or if there is a way to) programmatically get a list of pages a user owns (so that they can be presented in a drop-down list on a third-par...

How to track my dynamic IP address,is there an API available or other tools?

Hi all, Does anyone know a tool or better an API to track my dynamic IP address? Thanks so much for your help. Yours, Ling ...

Is it possible to integrate Nokia connectivity API with asp.net?

Is it possible to integrate Nokia connectivity API with asp.net? If so, How to get started? Any good reference... ...

My Twitter php script stopped working!

I'm using this PHP class for a Twitter script: twitter.slawcup.com/twitter.class.phps The script is: $t= new twitter(); $t->username='someuser'; $t->password='somepass'; $res = $t->update($tweet); if($res===false){ echo "ERROR<hr/>"; echo "<pre>"; print_r($t->responseInfo); echo "</pre>"; }else{ echo "SUCCESS<hr/>Status...

Easy ways to investigate unknown Python APIs

When studying a snippet of unknown Python code, I occasionally bump into the varName.methodName() pattern. To figure out what's this, I shall study the code more, find where varName was instantiated, find its type. So if varName proves to be an instance of ClassName class, I would knew that methodName() is a method of ClassName. Som...

Importing owl files

Hello, I have a problem with importing owl files using owl api in Java. I successfully can import 2 owl files. However, a problem occurs, when I try to import 3 or more owl files that are integrated to each other. E.g. Base.owl -- base ontology Electronics.owl -- electronics ontology which imports Base.owl Telephone.owl -- telephone on...

Can I use IP addresses to limit API access

I have a mini API that is only for an app I have built. The API service is on a separate domain to my app. I make jsonp calls to it and receive json in return. Therefore I only want my app to be able to access it. Can I just list a series of IP addresses for my app and allow them? Is there a better way to stop requests from anyone else ...

What Parallel computing APIs make good use of sockets?

My program uses sockets, what Parallel computing APIs could I use that would help me without obligating me to go from sockets to anything else? When we are on a cluster with a special, non-socket infrastructure system this API would emulate something like sockets but using that infrastructure (so programs perform much faster than on soc...

place the picture on facebook wall

Hi all How can I place the picture on facebook wall via API?? Thank`s ...

Android API Target Level 5 and 6 for Ubuntu

Today i installed Ubuntu 10.4 and Eclipse Galileo. Then I downloaded the Android SDK and tried to install all packages via the Android SDK Tools. But unfortunately, only the Target Levels 3, 4, 7 and 8 were available. API Level 5 and 6 are missing. Does anybody know the reason for this? I already did a Google search and there seems to b...

iPhone Development - calling external JSON API (will Apple reject?)

Ok guys, so im new to iPhone development, so apologies if this is a silly question, but before i actually create my app i want to know if this is possible, and if Apple will reject this. (Note this is all theoretical) So i'd have a API (.NET) that runs on a cloud server somewhere and can return HTML/JSON/XML. I'll have a website that ...

Finding Windows printer driver name using API

I can't seem to find an API call that returns the driver name for a Windows printer. Note that I'm not talking about the friendly name of the printer in the printer folder, I'm talking about the name of actual driver being used as shown on the "Advanced" tab when you look at the printer properties: I'm trying to detect when I'm printi...