I've been trying to create a simple php file that will upload a single image to tumblr. An example is listed here, but it just won't work with images. Here is the code:
<?php
// Authorization info
$tumblr_email = '[email protected]';
$tumblr_password = 'secret';
// Data for new record
$post_type = 'photo';
//////////////////////TH...
Hi,
Our company's switching from traditional, lame Windows shared drive to a Linux install of Alfresco.
I'm the sole developer here (...go me!) and I would like to hear any thoughts on what I envisage being an interface, created by me, accessible by my team, and drawing on files stored in Alfresco, to modify some HTML files presented b...
Hi all,
I was using Google local search api using .net and the JSON results iam getting does not contain the images.
But when i use the actual google local search website iam able to see the images next to the listings.
Please help.
Thanks
...
I want to utilize Facebook, Twitter, Foursquare, Google Maps and Yelp in my own social web app (PHP/MySQL), specifically to tap into users' details and trends. How do I use those social APIs and what are the main limitations I need to worry about?
...
Where can I find some character decoders for the non-officially supported charsets? I.e. I don't want to reinvent the wheel, surely someone must have already written some decoders for their own purposes or as a library?
Thanks!
...
I am currently looking into a variety of service discovery protocols available to Java and have come up with a small list:
DNS-SD[1] a.k.a mDNS - implemented by jmDNS and also used as a backend for Zeroconf/Bonjous discovery provider for ECF (Eclipse Communication Framework)
UPnP[2] - implemented by Cling library
SLP - implemented by O...
I'd like to:
start a new instance of visual studio
set up a project with a bunch of custom references
create a single source code file (*.vb and *.cs both need to work)
detect changes made to this file (i.e. when Save is used from VS)
This will hopefully allow me to provide my users with a good source code editor for when they write ...
Hello,
I would like to be able to return a HTTP Reponse with a formated content with django-piston.
I guess I have to create my own rc_factory.
What I would like to do is :
return rc.404({'status': 0,'message': 'This restaurant does not exists.'})
With a result provide by XMLEmiter, JSONEmiter or YAMLEmiter regarding to the format ...
My phone is going to be sending information to home base, and I want the end user to be able to select a picture that he has on his phone and select it as an attachment.
How can I achieve this?
...
Hi,
I am implementing gigya to authorise users from facebook, twitter, linkedin and gmail. Everthing works great as I need very little information. I am using socialize logout to logout users, but It does not work as desired, It logs out of the hosted site but not the service provider.
Is there any option that I might have overlooked ...
I'm currently architecting an API and one solution we are leaning towards is to use REST. A key issue is the parameters being passed are complex data types including nested hashes, hashes of arrays of hashes, etc. The philosophy is that the user should be able to complete their tasks with a minimum number of API calls.
One common solut...
Assume i have a function in a code library with a bug in it i've found a bug in a code library:
class Physics
{
public static Float CalculateDistance(float initialDistance, float initialSpeed, float acceleration, float time)
{
//d = d0 + v0t + 1/2*at^2
return initialDistance + (initialSpeed*time)+ (acceleration*P...
I am building an app which needs the above feature. Any idea if this is available? Or suggestions on implementing this ?
...
I'm working on small ticket system. It's very simple and useable already, but I want it to be OOP in every possible way.
So currently I'm at the point when I've started wondering, what might the API of such system look like or what it could offer.
For example there is Twitter API, but twitter is a public service. The ticket system on th...
I'm writing an API and want to follow the REST approach. As I understand it, if I want to let API users update specific records a PUT http://server/specific_resource type request should be supported. Of course, they're not doing a GET and they'll need to pass along the new data and my question is how to do this (in my specific case only ...
What if it it was a URL shortener that can track destination site profile? Can this be done without authentication?
...
Edit: 10-9-10
I think the app is crashing when the JSON library tries to parse the [NSString stringWithFormat:@"%d weeks",[components week]] How would i format it so that JSON can parse it?
here's the JSON code line
NSString *attachmentStr = [jsonWriter stringWithObject:attachment];
NSMutableDictionary* params = [NSMutableDict...
I am using AJAX to generate actions on my website. For example, a "search results page" calls Ajax which initiates "/getResults.php". This PHP file returns a JSON with 20 entries that contains the results. The HTML Page calls the callback function and re-builds the DOM with the results from the JSON.
It thus seems inevitable that using ...
I use embedded Awesomium 1.01 in game application to authorize it in Facebook through OAuth and then use Graph API. Now I need to update the game so that you don't have to login again every time you launch the application (Of course, I don't store app "access token" between two launches of the application).
1) I can achieve that if I ha...
Is there any way to set the file permission at the time of uploading files through Amazon S3 API.
In my current solution i am able to upload the file on my bucket but i can not view the file through the URL which is mentioned in the file properties section. It is opening when i am passing access keys in query string.
Is there any setti...