"When you were born, you cried and the world rejoiced. Live your life so that when you die, the world cries and you rejoice." Cherokee Proverb

Blog Entry #155


Brightkite PHP Scripts

Saturday July 18th 2009 23:42:09 CDT
challgren

So I'm my year of using Brightkite I've written a couple PHP scripts that add some cool features to Brightkite.

1: An auto accept friend script. To use this set the bkacceptfriends('username', 'password'); to what you want. Then run this via a crontab entry every hour or so. It will automatically accept your friends and add them as trusted.

2: Google Code post-commit web hook. This script allows you to post details of a Google Code commit to Brightkite. You can see this in action at @brightberry. The script requires some setup which is found at the top of the file.

  Tags: Brightkite, API, Coding, PHP
  Comment
Page generated in 0.1514 seconds