Google Plus API

by Learn PHP on July 10, 2011

Google is rolling out API very soon for developers to take a sneak peak and develop applications. In the meantime developers can sign up at https://services.google.com/fb/forms/plusdevelopers/ to get a early access onto the Google plus API.

Eventually, google plus is playing a invite only for brands and developers too after a successful stunt with social networking users all around the world. Brands can sign up here http://goo.gl/zq95C to be the first to get listed as business on Google+.

{ 1 comment }

While struggling with old gems and ruby installation on my macosx. I googled a lot for response and find no satisfactory answer.

The problem was simple, macosx 10.5 comes with ruby 1.8.1 and rails 1.2.6 which is now a depreciated version of ROR and not recommended to be used for production.

Now since gems have moved there base, every gem install command was throwing a 302 HTTP error.

$ sudo gem install rails
ERROR:  While executing gem ... (Gem::RemoteSourceException)
    HTTP Response 302 fetching http://gems.rubyforge.org/yaml

Even the most suggested resolution which is a gem update didn’t work.

gaurav-mishras-macbook:rubygems-1.8.5 gaurav$ sudo gem update --system
Updating RubyGems...
ERROR:  While executing gem ... (Gem::RemoteSourceException)
    HTTP Response 302 fetching http://gems.rubyforge.org/yaml

Then luckily a landed to a blog post which mentioned a similar problem and changing the source of the gem repositry worked like charm. Just add –source http://production.s3.rubygems.org

For example

gaurav-mishras-macbook:rubygems-1.8.5 gaurav$ sudo gem update --system --source http://production.s3.rubygems.org
Updating RubyGems...

{ 2 comments }

2 most common php url functions for daily use

March 15, 2011

Seldom every php developer need some php url functions to work with , usually while parsing a web portal or finding the links url functions come very handy. Here are URL based functionalities a developer may need . 1) Get the url of the portal:- echo $_SERVER(‘HTTP_HOST’); 2) Parse the url for extracting all components:- [...]

Read the full article →

Google Plus Circles

March 13, 2011

Update:- Google launched the google circle social network as Google plus. API is still awaited. Updates will be coming as the API gets launched. Google is launching there new social networking service “Google Circles”, this is rumored to offer photo sharing, video sharing and updates. Which can be tightly linked to other social networks and [...]

Read the full article →

Twitter bot tutorial

February 21, 2010

Twitter is heavily becoming a source of traffic and with there extremely powerful api , it’s very easy to automate stuff via Twitter bots. Today i am going to show you a tutorial for very simple but yet very powerful bot which if used effectively can drive great traffic on sites. These bots simply search [...]

Read the full article →

Open Dada PHP Class – Ringtone Affiliate API

August 31, 2009

Recently i needed to make a ringtone download website for a friend and we researched on web for a good affiliate with a decent API to make things easier for content download and integration on website. We ended choosing OpenDada.com which is a affiliate website for dada.net , Dada.net is a premier provider for providing [...]

Read the full article →

5 important tips for Debugging PHP Code

August 29, 2009

Debugging PHP code is a  nightmare for all Php developers and these are the times when they miss the thread functionality like java in php, However some simple php debugging techniques can help y0u to code faster and thus save very valuable coding time. These all debugging techniques are based on my experience and i would [...]

Read the full article →

Enable mod_rewrite in windows , WAMP, XAMPP

August 22, 2009

Wamp and XAMPP doesn’t come with default rewrite rule enabled, For enabling the rewrite rules in both of them you need to make changes in httpd.conf so that apache can work with rewrite rules. For enabling the rewrite rules follow these rules:- 1) find httpd.conf (usually this file can be found in folder callled conf [...]

Read the full article →

Creating a cache file in php for API requests

August 21, 2009

Web 2.0 was all about mashups and data api’s !, Some of the popular ones are google search api , twitter api etc. All API’s have some rate-limiting , For example Twitter API has a rate limit of 150 requests per hour ! , Yahoo API and Google API’s have a daily limit on their [...]

Read the full article →

5 upcoming Apis of Google that will change the way mashups are made

August 9, 2009

In my opinion one of the top most API’s used globaly on web portals is Google Search API, Google is famous for building world class API’s to harness the unique data Google collected with it’s excellent set of technology. Google Labs is the ultimate playground of Google which he use for developing and testing there [...]

Read the full article →