Parsing Instagram JSON on Apex

Last week I had a challenge of making a API callout to Instagram from Salesforce and then parse the returned JSON content and the mapped the values to become a record for a custom object. Basically each media post and comments becomes a record in Salesforce.

First off you can start by reading this article

According to http://www.json.org:

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. … JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.

To begin, what I have here is an API request for comments for a particular media or picture I have in Instagram.

Read the rest of this entry »

Free Toyota iQ Font

Have you ever thought about using fonts as a viral tool for marketing your new product? Well apparently in Belguim, Toyota did. They released a new car called Toyota iQ which is a compact car, hired a couple of designers to do the typeface and a pro racecar driver. Had the driver spin the car around in letter patterns.
Check out this video:

iQ font – When driving becomes writing / Full making of from wireless on Vimeo.

Well I like the idea, by me posting this vid and sharing it can become viral. Oh and get the free font here

The Toyota iQ is currently only available in Europe at this time.

Gross Vehicle Weight – Total (kg) 1210
Kerb weight (kg) 845-885/860-895
Length (mm) 2985
Width (mm) 1680
Height (mm) 1500
Wheelbase (mm) 2000
Front tread (mm) 1480
Rear tread (mm) 1460
Minimum radius (m) 3,9
Front overhang (mm) 530
Rear overhang (mm) 455
Fuel tank capacity (l) 32
Number of cylinders 3 in line
Valve mechanism 12 valve DOHC chain drive with VVT-i
Fuel injection system Electronic Fuel injection
Displacement (cc) 998
Maximum output (kW@rpm) 68 DIN hp/6000
Maximum output (DIN hp@rpm) 68 DIN hp/6000
Maximum torque (Nm@rpm) 91/4800
Maximum output (DIN hp) 68
Compression ratio 10.9:1
Bore x stroke (mm x mm) 71.0 x 83.9
Engine code 1KR-FE

Facebook Vanity URL

Starting June 13, Facebook is launching their vanity url, you can have your friends directly access your profile from something like

http://www.facebook.com/olopsman. < -- your username Check it out here.

How To: Create a Comments Box with Facebook Connect in 5 Minutes

Got to try this out soon. Check out the Vid.


How To: Create a Comments Box with Facebook Connect in 5 Minutes from Pete Bratach on Vimeo.

Social Knowledge Content Highway

Back then when we describe the Internet we talk about it being the Information Highway, term social knowledge content wasn’t coined yet. When looking for some quick answers, the results on searches most often times have already been asked on forums or mailing list. Mailing list and forums are of the original types of social media content, now emerging from social media content are social knowledge content. What is it exactly? It is where users share their knowledge on the subject matter and all of these are collected and made easily accessible. Almost anything under the sun is available.

Read the rest of this entry »