Permalink
Browse files

Building and pushing with rake

  • Loading branch information...
1 parent ee096f5 commit 8ce6a9ad3f5092f322e569f403687fd074fbf375 @jfoucher committed Apr 16, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 2012/04/getting-your-users-gmail-contacts.html
  2. +2 −2 feed.xml
  3. +1 −1 index.html
@@ -131,7 +131,7 @@ <h2 class="post-title">
<p>What I wanted to do was something similar to what Dropbox does for their referral program: Allow the user to input their email and password, show them a list of their contacts and allow them to select who to invite. The invited contacts' emails would then be saved directly to database and an email sent to them.</p>
-<p>This is what google calls the <a href="https://developers.google.com/accounts/docs/AuthForInstalledApps#Using">ClientLogin</a> method of authentication. It allow you user to simply input their username and password and see a list of their contacts displayed, where they can select which ones to invite, in this case.</p>
+<p>This is what google calls the <a href="https://developers.google.com/accounts/docs/AuthForInstalledApps#Using">ClientLogin</a> method of authentication. It allow your user to simply input their username and password and see a list of their contacts displayed, where they can select which ones to invite, in this case.</p>
<p>The way to do that is pretty easy, first we have to make a POST request to google to get an authentification token for the subsequent authenticated requests. I chose to use the <a href="https://github.com/kriswallsmith/Buzz">Buzz PHP library</a> as my HTTP client. It makes everything easy and removes the necessity of countless <code>curl_set_opts()</code>. Buzz requires PHP 5.3, but I'm using Symfony2 which also does, so that's not a problem, actually more of a boon as I find PHP5.3 code generally cleaner.</p>
View
@@ -4,7 +4,7 @@
<title type="text" xml:lang="en"></title>
<link type="application/atom+xml" href="http://jfoucher.com/feed.xml" rel="self"/>
<link type="text" href="http://jfoucher.com" rel="alternate"/>
- <updated>2012-04-16T15:20:02+02:00</updated>
+ <updated>2012-04-16T15:40:54+02:00</updated>
<id>http://jfoucher.com</id>
<author>
<name>Jonathan Foucher</name>
@@ -19,7 +19,7 @@
<id>http://jfoucher.com/2012/04/getting-your-users-gmail-contacts</id>
<content type="html">&lt;p&gt;What I wanted to do was something similar to what Dropbox does for their referral program: Allow the user to input their email and password, show them a list of their contacts and allow them to select who to invite. The invited contacts' emails would then be saved directly to database and an email sent to them.&lt;/p&gt;
-&lt;p&gt;This is what google calls the &lt;a href=&quot;https://developers.google.com/accounts/docs/AuthForInstalledApps#Using&quot;&gt;ClientLogin&lt;/a&gt; method of authentication. It allow you user to simply input their username and password and see a list of their contacts displayed, where they can select which ones to invite, in this case.&lt;/p&gt;
+&lt;p&gt;This is what google calls the &lt;a href=&quot;https://developers.google.com/accounts/docs/AuthForInstalledApps#Using&quot;&gt;ClientLogin&lt;/a&gt; method of authentication. It allow your user to simply input their username and password and see a list of their contacts displayed, where they can select which ones to invite, in this case.&lt;/p&gt;
&lt;p&gt;The way to do that is pretty easy, first we have to make a POST request to google to get an authentification token for the subsequent authenticated requests. I chose to use the &lt;a href=&quot;https://github.com/kriswallsmith/Buzz&quot;&gt;Buzz PHP library&lt;/a&gt; as my HTTP client. It makes everything easy and removes the necessity of countless &lt;code&gt;curl_set_opts()&lt;/code&gt;. Buzz requires PHP 5.3, but I'm using Symfony2 which also does, so that's not a problem, actually more of a boon as I find PHP5.3 code generally cleaner.&lt;/p&gt;
View
@@ -174,7 +174,7 @@ <h2 class="post-title">
<p>What I wanted to do was something similar to what Dropbox does for their referral program: Allow the user to input their email and password, show them a list of their contacts and allow them to select who to invite. The invited contacts' emails would then be saved directly to database and an email sent to them.</p>
-<p>This is what google calls the <a href="https://developers.google.com/accounts/docs/AuthForInstalledApps#Using">ClientLogin</a> method of authentication. It allow you user to simply input their username and password and see a list of their contacts displayed, where they can select which ones to invite, in this case.</p>
+<p>This is what google calls the <a href="https://developers.google.com/accounts/docs/AuthForInstalledApps#Using">ClientLogin</a> method of authentication. It allow your user to simply input their username and password and see a list of their contacts displayed, where they can select which ones to invite, in this case.</p>
<p>The way to do that is pretty easy, first we have to make a POST request to google to get an authentification token for the subsequent authenticated requests. I chose to use the <a href="https://github.com/kriswallsmith/Buzz">Buzz PHP library</a> as my HTTP client. It makes everything easy and removes the necessity of countless <code>curl_set_opts()</code>. Buzz requires PHP 5.3, but I'm using Symfony2 which also does, so that's not a problem, actually more of a boon as I find PHP5.3 code generally cleaner.</p>

0 comments on commit 8ce6a9a

Please sign in to comment.