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 »

Consuming Social Media Theory

With all the social media found in the web its easy to get hanged up and unknowingly spend alot more time on consuming media like reading RSS feeds, checking Facebook, Twitter, reading blogs, etc than getting real work done.

I just saw a video shared to me on Facebook made by Ed Dale on how he keeps his edge by consuming social media in the most efficient manner and using the right technology. I very like much his approach and theory on how and when you should consume social media which is pretty simple but very much overlooked.

When in front of the computer you should be working and developing, consume social media when not working like when on the bed, sala or doing something else.

Ed uses the available resources like an Ipad which is designed to consume content and use it efficiently which he access or read for later when not in front of the computer.

Check out his vid below.

Now I want an Ipad. Planning to get one when Ipad 2 becomes available here in the Philippines.

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.