The new EricMartindale.com is an experiment in data aggregation, and might have a few bugs. Feel free to explore, and then provide feedback directly to @martindale.

search results for apis

Display Foursquare Badges in Chyrp without using Javascript

If you notice, I currently display my Foursquare badges over in the right hand side. I'm not sure about how long I'll display them specifically, so here's a screenshot:

I recently received an email inquiring about how I accomplished this. Well, since I use Chyrp, here's how I did it:

  1. In includes/controller/Main.php, add the following, somewhere around line 715 (immediately after $this->context["sql_queries"] =& SQL::current()->queries;): // BEGIN Foursquare Badges $cURL = curl_init(); curl_setopt($cURL, CURLOPT_URL, "http://api.foursquare.com/v1/user.json?badges=1"); curl_setopt($cURL, CURLOPT_HEADER, 0); curl_setopt($cURL, CURLOPT_RETURNTRANSFER, 1); curl_setopt($cURL, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($cURL, CURLOPT_USERPWD, "your@email.com:your_password_here"); $strPage = curl_exec($cURL); curl_close($cURL); $foursquare = json_decode($strPage); $badges = $foursquare->user->badges; foreach ($badges as $badge) { $this->context['foursquare_badges'] .= '<img src="'.$badge->icon.'" title="'.$badge->description.'" />'; }
    // END Foursquare Badges
  2. In themes/your_theme_name/content/sidebar.twig, wherever you want to display your foursquare tags, simply add: <div> <h1>Foursquare Badges</h1> $foursquare_badges </div></code> You can display this wherever you like, in any part of your Chyrp template.

Be aware that this requires PHP's CURL module. I encourage you to enable Chyrp's caching module as well, so every page load does not incur a single API request (I have a feeling that they probably won't appreciate it). The benefit of this is that your Foursquare badges will now be output by your server, so they are both indexable by search engines and degrade very gracefully when the client doesn't have Javascript enabled (NoScript users, particularly).

Enjoy!

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Hi everyone, so here is my Google+ API Mash-up called Stream+ for Google+ It uses your public stream...

Hi everyone, so here is my Google+ API Mash-up called Stream+ for Google+

It uses your public stream data and classifies them (automatically categorizes) into topics that you can visually to understand your stream!

Note: You might get a server error because Google+ API limits requests.

Thanks to +Carmelyne Thompson +Eric Martindale +Jake McCuistion who helped me with the design, logo and jQuery!

And to my other friends for emotional support :)
+Christa Laser +Lucas Johnson

Attachments

Stream+ for Google+

Stream+ for Google+. The following experiment is just a proof of concept of how to use the Google+ API. Built over the hangout, developed by +Mohamed Mansour. Once you log in, it will fetch all your p...

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Hi everyone, so here is my Google+ API Mash-up called Stream+ for Google+ It uses your public stream...

Hi everyone, so here is my Google+ API Mash-up called Stream+ for Google+

It uses your public stream data and classifies them (automatically categorizes) into topics that you can visually to understand your stream!

Note: You might get a server error because Google+ API limits requests.

Thanks to +Carmelyne Thompson +Eric Martindale +Jake McCuistion who helped me with the design, logo and jQuery!

And to my other friends for emotional support :)
+Christa Laser +Lucas Johnson

Attachments

Stream+ for Google+

Stream+ for Google+. The following experiment is just a proof of concept of how to use the Google+ API. Built over the hangout, developed by +Mohamed Mansour. Once you log in, it will fetch all your p...

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Hi everyone, so here is my Google+ API Mash-up called Stream+ for Google+ It uses your public stream...

Hi everyone, so here is my Google+ API Mash-up called Stream+ for Google+

It uses your public stream data and classifies them (automatically categorizes) into topics that you can visually to understand your stream!

Note: You might get a server error because Google+ API limits requests.

Thanks to +Carmelyne Thompson +Eric Martindale +Jake McCuistion who helped me with the design, logo and jQuery!

And to my other friends for emotional support :)
+Christa Laser +Lucas Johnson

Attachments

Stream+ for Google+

Stream+ for Google+. The following experiment is just a proof of concept of how to use the Google+ API. Built over the hangout, developed by +Mohamed Mansour. Once you log in, it will fetch all your p...

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Hi everyone, so here is my Google+ API Mash-up called Stream+ for Google+ It uses your public stream...

Hi everyone, so here is my Google+ API Mash-up called Stream+ for Google+

It uses your public stream data and classifies them (automatically categorizes) into topics that you can visually to understand your stream!

Note: You might get a server error because Google+ API limits requests.

Thanks to +Carmelyne Thompson +Eric Martindale +Jake McCuistion who helped me with the design, logo and jQuery!

And to my other friends for emotional support :)
+Christa Laser +Lucas Johnson

Attachments

Stream+ for Google+

Stream+ for Google+. The following experiment is just a proof of concept of how to use the Google+ API. Built over the hangout, developed by +Mohamed Mansour. Once you log in, it will fetch all your p...

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Google+ API Documentation, now that it's public. :)

Google+ API Documentation, now that it's public. :)

Attachments

Google+ API - Google+ Platform — Google Developers

Google+ API. The Google+ API is the programming interface to Google+. You can use the API to integrate your app or website with Google+. This enables users to connect with each other for maximum engag...

4 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Google+ API Documentation, now that it's public. :)

Google+ API Documentation, now that it's public. :)

Attachments

Google+ API - Google+ Platform — Google Developers

Google+ API. The Google+ API is the programming interface to Google+. You can use the API to integrate your app or website with Google+. This enables users to connect with each other for maximum engag...

4 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Google+ API Documentation, now that it's public. :)

Google+ API Documentation, now that it's public. :)

Attachments

Google+ API - Google+ Platform — Google Developers

Google+ API. The Google+ API is the programming interface to Google+. You can use the API to integrate your app or website with Google+. This enables users to connect with each other for maximum engag...

4 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Did you use the &quot;Try it!&quot;... in reply to

Did you use the "Try it!" poster on any of the APIs? I've yet to get one to work even after the OAuth verification..

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Swift work, guys! I integrated the... in reply to

Swift work, guys! I integrated the API into zipl.us this morning as well. Not quite as involved as Stream+, but I wanted to try it out.

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Wow. Who is responsible for...

Wow. Who is responsible for the @discogs API? It's beautiful. Likely the best REST implementation I've ever seen, and it includes HATEOAS.

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Wow. Who is responsible for...

Wow. Who is responsible for the @discogs API? It's beautiful. Likely the best REST implementation I've ever seen, and it includes HATEOAS.

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

RT @martindale: Wow. Who is...

RT @martindale: Wow. Who is responsible for the @discogs API? It's beautiful. Likely the best REST implementation I've ever seen, and it …

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

In preparation for the Bay BitHack, Copay Product Lead +Matias Alejo Garcia and Developer Evangelist...

In preparation for the Bay BitHack, Copay Product Lead +Matias Alejo Garcia and Developer Evangelist +Eric Martindale will be hosting an AMA via Hangouts on Air, where questions about Bitcoin, Bitcoin-related APIs, and Cryptofinance in general will be answered.

Still needing an idea on what to build?  Not sure where to start?  Make sure to join us!

Attachments

Bay BitHack Pre-Hackathon Bitcoin AMA, Sponsored by Copay

In preparation for the Bay BitHack, Copay Product Lead @114481436470709983722 and Developer Evangelist @112353210404102902472 will be hosting an AMA via Hangouts on Air, where questions about Bitcoin, Bitcoin-related APIs, and Cryptofinance in general will be answered. Still needing an idea on what to build?  Not sure where to start?  Make sure to join us!

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

In preparation for the Bay BitHack, Copay Product Lead +Matias Alejo Garcia and Developer Evangelist...

In preparation for the Bay BitHack, Copay Product Lead +Matias Alejo Garcia and Developer Evangelist +Eric Martindale will be hosting an AMA via Hangouts on Air, where questions about Bitcoin, Bitcoin-related APIs, and Cryptofinance in general will be answered.

Still needing an idea on what to build?  Not sure where to start?  Make sure to join us!

Attachments

Bay BitHack Pre-Hackathon Bitcoin AMA, Sponsored by Copay

In preparation for the Bay BitHack, Copay Product Lead @114481436470709983722 and Developer Evangelist @112353210404102902472 will be hosting an AMA via Hangouts on Air, where questions about Bitcoin, Bitcoin-related APIs, and Cryptofinance in general will be answered. Still needing an idea on what to build?  Not sure where to start?  Make sure to join us!

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

In preparation for the Bay BitHack, Copay Product Lead +Matias Alejo Garcia and Developer Evangelist...

In preparation for the Bay BitHack, Copay Product Lead +Matias Alejo Garcia and Developer Evangelist +Eric Martindale will be hosting an AMA via Hangouts on Air, where questions about Bitcoin, Bitcoin-related APIs, and Cryptofinance in general will be answered.

Still needing an idea on what to build?  Not sure where to start?  Make sure to join us!

Attachments

Bay BitHack Pre-Hackathon Bitcoin AMA, Sponsored by Copay

In preparation for the Bay BitHack, Copay Product Lead @114481436470709983722 and Developer Evangelist @112353210404102902472 will be hosting an AMA via Hangouts on Air, where questions about Bitcoin, Bitcoin-related APIs, and Cryptofinance in general will be answered. Still needing an idea on what to build?  Not sure where to start?  Make sure to join us!

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Bay BitHack Live AMA with Copay Developers

In preparation for the Bay BitHack, Copay Product Lead +Matias Alejo Garcia and Developer Evangelist +Eric Martindale will be hosting an AMA via Hangouts on Air, where questions about Bitcoin, Bitcoin-related APIs, and Cryptofinance in general will be answered.

Still needing an idea on what to build?  Not sure where to start?  Make sure to join us!

Attachments

Bay BitHack Pre-Hackathon Bitcoin AMA, Sponsored by Copay

In preparation for the Bay BitHack, Copay Product Lead @114481436470709983722 and Developer Evangelist @112353210404102902472 will be hosting an AMA via Hangouts on Air, where questions about Bitcoin, Bitcoin-related APIs, and Cryptofinance in general will be answered. Still needing an idea on what to build?  Not sure where to start?  Make sure to join us!

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Here's my list of "top topics" according to +Mohamed Mansour's Stream Plus, which uses a distance and...

Here's my list of "top topics" according to +Mohamed Mansour's Stream Plus, which uses a distance and grouping algorithm to analyze your stream for public posts, and determine what they are about. Pretty svelte results!

+Jake McCuistion, +Carmelyne Thompson, and I helped him build this almost immediately after the Google+ API was released -- as far as I can tell, it was the first public application built on top of it. :)

What does your "top topics" look like? What do you think this algorithm accurately conveys? Share!

Link to app: http://stream-plus.appspot.com

Attachments

Ephemera (1 photo)

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Here's my list of "top topics" according to +Mohamed Mansour's Stream Plus, which uses a distance and...

Here's my list of "top topics" according to +Mohamed Mansour's Stream Plus, which uses a distance and grouping algorithm to analyze your stream for public posts, and determine what they are about. Pretty svelte results!

+Jake McCuistion, +Carmelyne Thompson, and I helped him build this almost immediately after the Google+ API was released -- as far as I can tell, it was the first public application built on top of it. :)

What does your "top topics" look like? What do you think this algorithm accurately conveys? Share!

Link to app: http://stream-plus.appspot.com

Attachments

Ephemera (1 photo)

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Here's my list of "top topics" according to +Mohamed Mansour's Stream Plus, which uses a distance and...

Here's my list of "top topics" according to +Mohamed Mansour's Stream Plus, which uses a distance and grouping algorithm to analyze your stream for public posts, and determine what they are about. Pretty svelte results!

+Jake McCuistion, +Carmelyne Thompson, and I helped him build this almost immediately after the Google+ API was released -- as far as I can tell, it was the first public application built on top of it. :)

What does your "top topics" look like? What do you think this algorithm accurately conveys? Share!

Link to app: http://stream-plus.appspot.com

Attachments

Ephemera (1 photo)

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Here's my list of "top topics" according to +Mohamed Mansour's Stream Plus, which uses a distance and...

Here's my list of "top topics" according to +Mohamed Mansour's Stream Plus, which uses a distance and grouping algorithm to analyze your stream for public posts, and determine what they are about. Pretty svelte results!

+Jake McCuistion, +Carmelyne Thompson, and I helped him build this almost immediately after the Google+ API was released -- as far as I can tell, it was the first public application built on top of it. :)

What does your "top topics" look like? What do you think this algorithm accurately conveys? Share!

Link to app: http://stream-plus.appspot.com

Attachments

Ephemera (1 photo)

1 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Forums Are Social: But We Need Stuff

There's some discussion about how forums are or are not social media, (frankly, I don't think there's any question at all) - and it occurred to me the answer of why there is this rift in perception of forums/message boards.

Message boards haven't changed in almost 25 years. There simply hasn't been any real innovation - and that's why there's so much "real" social media out there that's exploding right now. The stuff is so radically different from traditional mediums such as forums that everyone is missing the core of what social media is: community engagement and interaction

So, here are some of the things I'd like to see in a forum, and some things that I've implemented on some of my own forums (heh, or at least planning to implement):

Trackbacks It'd be awesome to have the same functionality in a blog post that we have on Wordpress or other blog software - did I give credit to someone? Let me hit the trackback API to make sure there's a connection between the two posts in the semantic web.

A forum thread is no different than a blog post. It has a topic, a goal, and a discussion pertaining to the original post. Let's see some of the functionality we found in the current decade put to use!

Native RSS Support There's nothing worse than having to write an RSS extension for your forum, and still not have the functionality you want. Give every URL on my forum a /feed, please. This includes forums, threads, posts, users: the whole shebang.

While you're at it, tell Feedburner to support filtered feeds - a lot of my users don't want every single post. And I sure as hell don't want to burn a new feed for every forum. C'mon, let's meet somewhere in the middle.

Semantic URLs Blogging software does it, why do we still have URLs on forums that use IDs right there in the URL? What benefit does that have to the user?

Social Profiles Alright, we've got friends and foes lists on our forums, now - but where is the option to make this information public? Why aren't we displaying a users' friend list on their profile page by default? What about all their most recent posts and actions, and selected excerpts?

A community can only grow in a stifled manner if interaction between members isn't made as easy as humanly possible. Current forum software is stuck in the 90's, with an XHTML wrapper around it. Let's fix this, and soon - before we all melt.

Real Metrics and Algorithms Stop using post count as a legitimate metric. This only encourages poor post quality. Let's see the ability to easily show Flesch-Kincaid, average word count, or something similar. The amount of posts a user has is not a good valuation of their contributions.

Instead, replace these with something more community-driven. Look at Digg for example. There is a solid (questionably) algorithm in place that measures users based on what they've submitted and the reactions of other users' reaction to that content, whether it be a comment or a submission.

Maybe I'm just whining. Maybe I've got legitimate desires. What do you think?

P.S.: And good god, phpBB! Why didn't you include this stuff in your phpBB3 release?!

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Letter Sweep

Following suit with the likes of Tim Bray and Eric Meyer, I figured I'd throw together my browser's letter sweep tonight.

  • [A]dmin Site. Yeah, I guess I would be visiting the admin panel for this. Quite frequently.
  • Mirascape's [B]log. An infrequent haunt of mine, but fairly obvious.
  • [C]MON. Cluster Monitor for MySQL Cluster, something I almost always have open.
  • Google [D]ocs. This one is painfully obvious, I use Google Docs extensively.
  • [E]ricMartindale.com. Okay, that's a gimme. Does this make me egocentric?
  • [F]acebook. I'm actually fairly ashamed of this one. Why can't I have a cool F site? sadface
  • [G]mail. Three accounts linked using Google's Multiple Sign-in. Open [almost] all day.
  • [H]ighcharts JS. A pretty kick-ass Javascript library for generating charts on the clientside.
  • [I]nternal Discussion. A site for communication with my team. :)
  • [J]Query Mobile Demo, 1.0 alpha 3. I've been spending a lot of time toying with jQuery Mobile, seeing where it's going compared to Sencha Touch.
  • [K]r.github.com. Keith Rarick's GitHub redirect. Total ass-kicker.
  • [L]inkedIn. Pretty straightforward, between hiring for our team at @Mirascape and the travel to and from various conferences and Meetups lately.
  • [M]irascape. The augmented reality platform I'm responsible for.
  • [N]oxBot. A nice PHP-powered IRC bot with various plugins. A bit out of date, but very powerful. Been using it for a couple things lately.
  • [O]K, QR Me!. A QR Code-generating link shortener I built.
  • [P]ostmark. Best Email delivery service I've used. Nice RESTful API, flat rate for emails sent.
  • [Q]uora. These guys nail Q&A, and they're doing it pretty well. Check out all their buzz, too. But for some reason, I just don't stick.
  • Google [R]eader. “From your 1,040 subscriptions, over the last 30 days you read 21,549 items, clicked 274 items, starred 853 items, shared 37 items, and emailed 8 items.” -- </stats>
  • [S]erver Stats for Mirascape. Powered by Munin, it's how I keep track of the status and metrics of all my servers.
  • [T]witter. Not surprising. I love their webapp for my personal use, but own and manage at least five accounts using SplitTweet.
  • [U]serVoice. Pretty sweet tool I use for giving the communities I manage a good way to build a consensus on what they desire most. Examples I run: for RolePlayGateway, and EVE UserVoice for EVE Online.
  • Google [V]oice. Allows me to use SMS from my computer, read (as opposed to listen to) voicemail. Great tool. If only it supported MMS.
  • [W]achovia. One of the places I do banking.
  • [X]DA Developers. An indisposable resource for getting rid of carrier-installed crap and running my own choice of software on the hardware I purchased!
  • [Y]ouTube. Another big namer. No surprise.
  • [Z]ecco. Where I trade most of my public stocks. :)

Surprisingly populist, and there's a lot of Google-owned properties in there. I'm also using Chromium, so I think it prefers the roots of the sites I visit instead of searching through my history for individual pages.

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.