Arduino Foursquare Shield acts as Arduino Shield via 1Sheeld

Buy 1Sheeld
Arduino Foursquare Shield acts as Arduino Shield via 1Sheeld

Buy 1Sheeld

Now you can check-in at any place automatically given the ID of the place if a certain condition is met.

This shield is one of the social media shields. Social media shields allow you to use your Arduino board to access your favorite social media applications, using your smartphone as a channel between them.Learn more from the social media shields tutorial.

Foursquare Library allows Arduino board to check in anywhere giving the ID of the place and a message includes info about the place.

Adding #define CUSTOM_SETTINGS along with #define INCLUDE_FOURSQUARE_SHIELD is a key that will let you unlock the Foursquare shield only amongst all shields and prevent 1Sheeld library from eating your memory specially for UNO board.

void checkIn(const char *,const char *)

Check in by adding the ID and a small informative message.

 

SYNTAX
Foursquare.checkIn (paceID,message);

 

RETURNS
None.

 

PARAMETERS
1st Parameter takes a const char array holding the ID of the place you are checking in.
2nd Parameter takes a const char array holding an information you want to add about the place.

 

USAGE
Foursquare.checkIn(“IDOfThePlaceYouWillBeCheckingInWhereYouCanGetItFromFoursquareSite”,“messageWithInfoAboutThePlace”);

 

void checkIn(String,String)

Check in by adding the ID and a small informative message.

 

SYNTAX
Foursquare.checkIn (paceID,message);

 

RETURNS
None.

 

PARAMETERS
1st Parameter takes a string object holding the ID of the place you are checking in.
2nd Parameter takes a string object array holding an information you want to add about the place.

 

USAGE
String placeID = “511759f2e4b0b0ae6ed91067”;
String message = “messageToBeWrittenAsAnInformationAboutThePlace”;
Foursquare.checkIn (placeID ,message);