Amazon S3 & Facebook Fanpage app

I want to link Amazon S3 https object like “https://s3.amazonaws.com/bucket/index.html” to facebook iframed fan page… But it returned error…. 405 Method Not Allowed Code: MethodNotAllowed Message: The specified method is not allowed against this resource. ResourceType: OBJECT Method: POST RequestId: XXXXXXXXXXXXX HostId: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX OR PreconditionFailedAt least one of the pre-conditions you specified did not holdBucket … Read more

How to check Facebook Application is Alive or Dead?

<?php include(“facebook.php”); $APPLICATION_ID = “”; $APPLICATION_SECRET = “”; $facebook = new Facebook(array( ‘appId’ => $APPLICATION_ID, ‘secret’ => $APPLICATION_SECRET, ‘cookie’ => true )); $fql = “SELECT api_key FROM application WHERE app_id=” . $APPLICATION_ID; $param = array(  ‘method’ => ‘fql.query’,  ‘query’ => $fql,  ‘callback’ => ” ); $fqlResult = $facebook->api($param); if(isset($fqlResult[0][‘api_key’]) && $fqlResult[0][‘api_key’]!=””)   echo “This app is … Read more

Application Setup on Google App Engine

Run your web apps on Google’s infrastructure. Easy to build, easy to maintain, easy to scale. https://cloud.google.com/console#c=l 1) Register a free account here https://appengine.google.com/. 2) Create an Application here https://appengine.google.com/start/createapp. 3) Download Google App Engine SDK for Java from here http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Java. 4) Unzip appengine-java-sdk-1.4.2.zip in your favorite drive like “D:\appengine-java-sdk” 5) Now download apps svnmedia.zip … Read more

json_add for php

JSON (JavaScript Object Notation) is a lightweight data-interchange format. 1. Easy for humans to read and write. 2. Easy for machines to parse and generate. 3. Collection of name/value pairs. 4. Used for C, C++, C#, Java, JavaScript, Perl, Python, and many others. 5. Compatible with universal data structures – array, vector, list, or sequence. … Read more

Custom Google Search

Google Custom Search service provide customized search for web on your site or blog. 1. We can add site’s links to get fast and relevant search results 2. We can make money with AdSense for Search 3. We can invite friends and community to contribute 4. We can include one or more websites, or specific … Read more