Post to Facebook with Python

Let’s take a quick look at a great tool to post to Facebook from Python called fbconsole. It’s fairly self explanatory, so I won’t bother going into much textual detail here. I’ll take you through some of the basic features and highlight as we go. In the following code snippet, we will post some data to our personal status feed, similar to how we push from KindleQuotes to Facebook when a user would like to share an item.

import fbconsole as F

# If you have an APP ID from Facebook, you can add that here.
# Otherwise, you will be posting as fbconsole.

# Set some authentication parameters
# Here we will set the ability to publish to a stream
F.AUTH_SCOPE = ['publish_stream']

# Now we will login and get our OAuth token.

# After successful login, we can add our status update.
# Let's assume we have some neat data we want to push to the stream.
# We'll post our world_changing_data to our personal feed'/me/feed', {'message': world_changing_data})

# Want to logout and wipe your OAuth token?

We just completed a very simple data push to our Facebook status feed from within our python program. There is a lot more functionality to check out once you have the basic setup working in your program.

Google+ vs Facebook

I received a pretty early invite to Google+ a while back and I’ve been really buying into the revolutionary(?) social networking service wholeheartedly. I would be inclined to suggest dropping the term social here as I feel it is a mature platform more apt for productivity; not to sound pretentious, but the grown-ups’ Facebook. There is an overload of commentary on Google+ and how it compares to Facebook so I won’t really try to jump into the fray here. However, I did have a few thoughts tonight while playing around on both sites and will simply throw out a quick list of some things that came to mind.

Here is the link to the Google+ post.

Or here is the post content:

Google+ vs Facebook

Things I really like about Google+ over Facebook (in no particular order and not fully inclusive – more of an off the cuff list):

– MUCH easier to find people
– Circles are how it should always be with social networks/applications
– Cleaner and faster interface
– No zombie pirate mining farms
– Productivity and efficiency in mind
– Huddles and hangouts are really well done so far
– Keyboard shortcuts such as bold and italicized
– No spamming overlords (yet?)
– Real names (although I don’t agree with the harsh lockouts I guess)
– Google product integration is pretty slick
– The mobile app is light years beyond the facebook app (at least on ios)
And last but not least, the open source community is present and accounted for!

– Oh and apparently on Facebook this has to be a note since it’s longer than 400 (or so) characters… come on…. I can rant away on Google+

We’ll have to see how things pan out as more people adopt Google+ and development rolls along. At this point, I will admit that I was an early advocate and fan. After some solid use of all the features and side-by-side comparison of day to day posting and usage, I remain and advocate and fan.

See you on Google+! [me]