---
title: "FoursquareProvider for SecureSocial and PlayFramework"
date: 2013-01-10T08:46:20+00:00
author: "poornerd"
tags: ["PlayFramework", "SecureSocial"]
canonical: https://www.poornerd.com/2013/01/10/foursquareprovider-for-securesocial-and-playframework/
source: Raw Markdown twin of the HTML article; content is the original source.
---
[<img class="alignleft size-medium wp-image-142" alt="Screen Shot 2013-01-10 at 09.47.19" src="https://www.poornerd.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-10-at-09.47.19-300x108.png" width="300" height="108" srcset="https://www.poornerd.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-10-at-09.47.19-300x108.png 300w, https://www.poornerd.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-10-at-09.47.19.png 407w" sizes="(max-width: 300px) 100vw, 300px" />](https://www.poornerd.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-10-at-09.47.19.png)

Last weekend I discovered that I needed a Foursquare Provider for the popular Play Framework Plugin Secure Social &#8211; so I wrote one!

The biggest challenge was that it is written in Scala, so I had to use my minimal Scala skills.  It wasn&#8217;t that hard, as I was able to use another Oauth2 Provider as a template, and Jorge Aliss (@jaliss) the Secure Social author was helpful as well.

So, right now I have submitted the pull request on Github:  <a href="https://github.com/jaliss/securesocial/pull/125" onclick="javascript:pageTracker._trackPageview('/outbound/article/github.com');" target="_blank">https://github.com/jaliss/securesocial/pull/125</a>

UPDATE Feb. 8, 2013:  Jorge has merged (my updated) pull request, so both the Foursquare and XING Providers are on the master branch of Secure Social, and should be included in the impending Play! 2.1 update.
