This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://s3.amazonaws.com/reviewcloud/widget/v2/reviews.min.js" | |
data-key="your_api_token"> | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var scriptName = "embed.js"; //name of this script, used to get reference to own tag | |
var jQuery; //noconflict reference to jquery | |
var jqueryPath = "http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"; | |
var jqueryVersion = "1.8.3"; | |
var scriptTag; //reference to the html script tag | |
/******** Get reference to self (scriptTag) *********/ | |
var allScripts = document.getElementsByTagName('script'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"obj": "reviewrequest", | |
"success": true, | |
"id": "947351D0-9CC0-45F7-A5A9-509DA58FBADF", | |
"createdAt": 1423073174 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rest-client' | |
#resource = 'https://api.sidebox.com/plugin/nearbyreviews' | |
resource = 'https://api.sidebox.com/plugin/servicearea' | |
html = RestClient.get resource, { | |
:params => { | |
'storefronttoken' => '{client_api_token}', | |
'state' => 'AZ', | |
'city' => 'Phoenix', | |
'count' => 20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ApiSampleController : Controller | |
{ | |
private const string api = | |
"https://api.sidebox.com/plugin/heatmap?storefronttoken={0}&state={1}&city={2}&zoomlevel={3}&showmap={4}&techemail={5}&mapscrollwheel={6}&agent={7}&checkincount={8}&reviewcount={9}"; | |
private const string StorefrontToken = "get this from the Nearby Now admin site"; | |
public ActionResult NearbyNowReviews(String State, String City) | |
{ | |
var agent = Request.UserAgent; | |
var wc = new WebClient(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Base endpoint for all API calls | |
$endpoint = "https://api.sidebox.com/plugin"; | |
//The resouce is the API Endpoint you'll be making a web request to | |
$resource = "/heatmap"; | |
//$resource = "/nationwideserviceareareviewcombo"; | |
//$resource = "/testimonials"; | |
//$resource = "/photogallery"; | |
//$resource = "/googlereviews"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (max-device-width : 480px) { | |
.nn-review-outer-cont { | |
font-size:180% !important; | |
/* Your mileage may vary depending on your website font */ | |
} | |
.nn-combo-left { | |
width:100% !important; | |
} | |
.nn-combo-right { | |
width:100% !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"event": "subscriber.subscribed", | |
"data": { | |
"object": { | |
"id": 99999, | |
"email": "[email protected]", | |
"fields": { | |
"first_name": "John", | |
"last_name": "Doe" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Nearby Now Reviews and Audio Testimonials | |
Plugin URI: http://servicepros.nearbynow.co/plugins/wordpress-plugins/ | |
Description: Nearby Now - Recent Reviews, Service Area Plugin and Audio Testimonials. | |
Version: 1.3.0 | |
Author: Nearby Now | |
Author URI: http://www.nearbynow.co | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Licence: MIT | |
# Created by tomykaira, 2011-10-25 | |
if [ $# -ne 1 ]; then | |
echo "Give me your new project name (only)" | |
exit 1 | |
fi |