tag:blogger.com,1999:blog-73307979056684458022009-02-23T18:41:41.918+11:00Bayesian ArgumentsRamblings of a VoIP GeekMartinhttp://www.blogger.com/profile/09630974739253839200noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7330797905668445802.post-87699068284663897332007-12-03T17:13:00.000+11:002007-12-03T22:09:58.194+11:00Facebook: Infinite Session KeysFacebook infinite session keys provide a great way for developers to write external applications and allow them to interface with your Facebook applications.<br /><br />This is particularly useful when you need to write a batch / cron job that requires access to the Facebook API.<br /><br />I found the online documentation to be pretty cryptic, so I thought I would document the steps involved to set this up:<br /><ol><li>Generate a one time code by accessing the following URL in a browser: <span style="font-size:78%;">http://www.facebook.com/code_gen.php?v=1.0&amp;api_key=YOUR_API_KEY<br /><br /></span></li><li>Use the generated code instead of the <span style="font-weight: bold;">auth_token</span><span> that is </span>normally passed to the <a href="http://developers.facebook.com/documentation.php?v=1.0&amp;method=auth.getSession">auth.getSession</a>.<br /><br /></li><li>The session returned from this call is known as your "Infinite Session Key" and can be used to setup in any external program. e.g.<br /><br />PHP:<br /><br /><span style="font-size:85%;"><span style="font-size:78%;"><span style="font-family:courier new;">$facebook = new Facebook($api_key, $secret);</span><br /><span style="font-family:courier new;">$facebook->set_user($myuid, $infkey);</span></span><br /></span><br />Java:<br /><br /><span style="font-size:78%;"><span style="font-family:courier new;">FacebookRestClient facebookRestClient = new FacebookRestClient(apiKey, secretKey);</span><br /><span style="font-family:courier new;">facebookRestClient.auth_getSession(oneTimeCode); // get infinite session using the one time code<br /><br /></span></span></li><li><span style="font-size:78%;"><span style="font-family:courier new;"></span></span>That's it! Your external program should now be able to access the Facebook API just as if it was running inside Facebook.<br /><br /></li></ol><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330797905668445802-8769906828466389733?l=blogs.teamburns.com%2Fmartin'/></div>Martinhttp://www.blogger.com/profile/09630974739253839200noreply@blogger.com0tag:blogger.com,1999:blog-7330797905668445802.post-3039713546441439432007-11-29T02:14:00.000+11:002007-11-29T02:26:13.417+11:00More Australian Broadband WoesWell just when I thought I was one step closer to obtaining my goal of "higher" speed broadband, I discover that Australia does not have the backbone capacity to handle the demand.<br /><br /><a href="http://www.townsvillebulletin.com.au/article/2007/11/28/8589_hpbus.html">Read Story</a><br /><br />Seems that unless the Australian government is prepared to invest a similar amount in broadband infrastructure we could very well end up with network gridlock.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330797905668445802-303971354644143943?l=blogs.teamburns.com%2Fmartin'/></div>Martinhttp://www.blogger.com/profile/09630974739253839200noreply@blogger.com0tag:blogger.com,1999:blog-7330797905668445802.post-53521315190480148522007-11-26T20:39:00.000+11:002007-11-26T21:24:56.881+11:00Will Australia Get Its Fibre?Back in March of this year the Australian Labor Party said it would invest AU$4.7 billion in a new national fibre broadband network if it won the federal election.<br /><br />It's now been two days since the ALP was voted into government and a lot of Australians (including myself) are eagerly waiting to see if this promise is kept. The plan was to roll-out fibre to the node(<a href="http://en.wikipedia.org/wiki/FTTN">FTTN</a>) which should provide broadband speeds of a minimum of 12Mbps to 98 percent of Australian population which is 4 times what I get today out of my ADSL2 connection.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330797905668445802-5352131519048014852?l=blogs.teamburns.com%2Fmartin'/></div>Martinhttp://www.blogger.com/profile/09630974739253839200noreply@blogger.com1tag:blogger.com,1999:blog-7330797905668445802.post-45108253636776634282007-11-26T10:31:00.000+11:002007-11-26T11:24:28.218+11:00Deciding to BlogAfter years of finding excuses not the blog, I have finally decided that it is probably a good thing. At a minimum it should allow me to brain dump my thoughts, and purge the cache from time to time.<br /><br />So if you are into VoIP, Facebook and most things technical then be sure to drop in from time to time.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330797905668445802-4510825363677663428?l=blogs.teamburns.com%2Fmartin'/></div>Martinhttp://www.blogger.com/profile/09630974739253839200noreply@blogger.com0