Archive for the ‘Social Media’ Category

vimeo OEmbed service rejects Apache Commons Http Client User Agent

February 24th, 2011 2 comments

Recently I was working on implementing an OEmbed client for work, and I spent a while trying to figure out why an oembed lookup worked in firefox, but not in my Java Service…

The url was:

For whatever reason, everytime I was making the request in my service I was receiving a 404 error.  I used tamper data in Firefox 3.6 to remove ALL headers except the host header, and it worked…  So, I set the user agent for apache commons HttpClient to a mozilla user agent string instead of the default “Jakarta Commons-HttpClient/3.1”  Just to verify this was the problem, I used tamper data again to set the User Agent for a request from firefox to “Jakarta Commons-HttpClient/3.1” and I received a 404 error…

The User-Agent string I used is: “Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13”

Categories: Social Media, workarounds Tags:

Facebook f8 announces new Easy to use API

April 29th, 2010 No comments

If you are a serious web developer that wants to ride the wave into the next decade, you MUST integrate with Social Networking / Media in your apps. Fortunatly, facebook just released a new API that is a piece of cake to use. WAY WAY WAY easier than their old one.

Check out the video about it’s features here: (The best stuff is half way through the video)

Categories: facebook, Social Media Tags:

Get more pageviews! How to add a “Post to Facebook” button to your site!

January 10th, 2010 No comments

This is so so easy… Every site on the web should have one of these…

All you have to do, is paste the code from here:

Onto your site…

See: Share with my friends.

Categories: facebook, Social Media Tags: