I am trying to post some content to my google buzz account using google buzz api.
I tried using their sample code that they have provided ,but it give the below error
Array
(
[http_code] => 401
[headers] => Array
(
[WWW-Authenticate] => AuthSub realm="https://www.google.com/accounts/AuthSubRequest" allowed-...
I receive POST request on my api.php script. The content red using this code:
$fp = fopen('php://stdin', 'r');
$all = "";
while($line = fgets($fp, 4096))
{
$all .= $line;
}
echo $all;
looks like this:
------------V2ymHFg03ehbqgZCaKO6jy
Content-Disposition: form-data; name="intro"
O
------------V2ymHF...
Hi,
I've gone through the http://css-tricks.com/examples/BuildYourSocialPage/ which is great, but I just want to customise the amount of Flickr images it pulls in(6) with the API.
I know I could set a div with overflow:hidden to show the desired amount, but I don't want the code to be hacky.
Can anyone help?
Also I'd like to displa...
Here's the scenario:
We have an external SharePoint instance with anonymous access turned on. We want the document libraries open to the public. We do not want custom lists open. That was simple enough to configure.
Now we want to use those lists to create an attractive external ASP.Net web application. This web site will need anony...
I'm wanting to make an API quickly, following REST principles - for a simple web application I've built. The first place the API will be used is to interface with an iPhone app. The API only needs handle a few basic calls, but all require authentication, nothing is public data.
login/authenticate user
get list of records in users group...
What is the proper/preferred way to allocate memory in a C API?
I can see, at first, two options:
1) Let the caller do all the (outer) memory handling:
myStruct *s = malloc(sizeof(s));
myStruct_init(s);
myStruct_foo(s);
myStruct_destroy(s);
free(s);
The _init and _destroy functions are necessary since some more memory may be alloc...
I'm trying to enumerate, in c#, the reports for a user on reporting services.
How do I do this? Is there a web services call I should use, or should I just get the html returned from http://localhost/ReportServer/lists.asmx and pull that apart?
The second option sounds like a bit of a hack. Surely theres a better way?
...
For example, when you click a link in your web browser, it automatically opens default e-mail client installed on your PC and fills that e-mail address in. I need to perform similar operation, but with file attachment. It will look like "Send file with default e-mail client" option in the software interface.
Is there any API available f...
I'm trying to center all message dialogs, including any exception dialogs on the parent form rather than having them always appear in the center of the screen.
I'm using Delphi 7 i note that using MessageDlgPos allows the params of X an Y to locate the dialog on screen, and thats fine for any messages i wish to display to the user. Bu...
Hi,
google map, ip location etc etc working good.
but none of service pointing our computer exactly where we are in map
anyone know any api which locate our computer on map without user inputs.
or any api service there . since im tired of ip location its not at all exact pointing some where in the earth and ma client scolding a lot ...
Hi,
I am trying to use ActiveResource to consume xml data from a third party API. I can use the RESTClient app to successfully authenticate and make requests. I coded my app and when I make a request I get a 404 error. I added:
ActiveResource::Base.logger = Logger.new(STDERR)
to my development.rb file and figured out the problem. Th...
Is it possible to get common friends using a Facebook API (the intersect of two friends lists)?
For example if you use the Facebook graph API you can do something like
https:..//graph.facebook.com/me/friends
but if you do
https:..//graph.facebook.com/220439/friends
there is a privacy error...
But if you can see the same informati...
I'm interested in accessing this class:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=media/java/android/media/MediaMetadataRetriever.java;h=681751b4d15115ffceb2c1d812b5d0f68b11a5ab;hb=HEAD
It is android unpublished API but is it a problem if I access it through reflection or it could lead to issues ?
...
I'm writing a small web app for myself in Rails and I want it to use Last.fm's API. I'm incredibly new to web development in general, so I'm not sure where to even begin.
http://www.last.fm/api/rest
I'm not asking for a step-by-step tutorial or anything like that, but a nudge in the right direction would be awesome. Or even just a litt...
I was looking at a blog about good API design link text
In one of the example sections titled 'Reinventing the Socket', it showed a design of how to enforce certain rules and prerequisite on the client code that uses it. eg. the client must call bind() before it can call connect(), and it must be connected before it's allowed to send() ...
What's the lowest level Windows function(s) to play sound? (The function(s) that are called by any other functions that play sound).
For example, fopen() calls CreateFileA(), and CreateFileA() calls CreateFileW(), and CreateFileW() calls NtCreateFile(), etc. I want to know what's the lowest-level one for sound (without comunicating with...
Ok I must be having a blonde moment, but for the life of me I can't find where to
download the resherper API, to use with the project I got from Here:
http://devlicio.us/blogs/hadi_hariri/archive/2010/01/12/writing-plug-ins-for-resharper-part-1-of-undefined.aspx
Any help or links would be greatly appreciated.
Cal-
...
I'm working on an idea for a website like friendfeed and need inputs on how to deverlop an API set. The module for tracking changes isnt a problem and has been build using system calls (so language-neutral).
(a)What language should i use to build this API-framework for developers? Primarily this service is intended for developers, NOT...
I am developing an open "protocol" for dynamic ridesharing services using mobile phones.
It is based on XML-RPC and uses marshalled objects as parameters (quite like Soap).
Every entity and operation will be heavily documented in the draft.
As example, look at this first skeleton of a documented Prefs object to be used in the Protocol....
Say I have a struct defined somewhere deep in low-level code used all over the place in the most crazy and unknown ways:
struct T {
unsigned short name_len;
char d_name[LENGTH];
}
With accompanying functions that fill d_name with whatever needs to be put there, like
struct T* fill( somethingOrOther* X)
And I would like to e...