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 Dependencies | |
| */ | |
| var Submission = require('./submission'); | |
| /** | |
| * Define Variables | |
| */ |
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
| { | |
| "design" { | |
| "elements": { | |
| "form" { | |
| "first_name": { | |
| "type": "input", | |
| "placeholder": "First Name", | |
| "height": 20, | |
| "width": 100 | |
| }, |
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
| [2013-01-23T22:09:59.920Z] TRACE: API/10532 on Nicks-MacBook-Pro-2.local: checking for route (req_id=a0fab700-65a9-11e2-a7f3-61250debc07b, req.remoteAddress=127.0.0.1, req.remotePort=62381) | |
| POST /clients/50f72a082d7580c405000001/sweepstakes/50fd94a8d2bd960200000001/submissions HTTP/1.1 | |
| host: localhost:3000 | |
| connection: keep-alive | |
| content-length: 124 | |
| user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.36 Safari/537.22 | |
| cache-control: no-cache | |
| origin: chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm | |
| authorization: Basic NUlVbDNmS2FvNTo0MjZMSnk3ODg3UXp4QzJWRzQzNFVtWmwyZDRicmM1NA== | |
| content-type: application/json |
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
| [2013-01-24T16:58:50.638Z] TRACE: API/21981 on Nicks-MacBook-Pro-2.local: route found (req_id=53a21ae0-6647-11e2-af6e-754eba0d63a0) | |
| route: getclientsclient_idsweepstakessweepstakes_idsubmissionssubmission_id100 | |
| [2013-01-24T16:58:50.639Z] TRACE: API/21981 on Nicks-MacBook-Pro-2.local: running restifyResponseHeaders | |
| [2013-01-24T16:58:50.639Z] TRACE: API/21981 on Nicks-MacBook-Pro-2.local: running parseAccept | |
| [2013-01-24T16:58:50.639Z] TRACE: API/21981 on Nicks-MacBook-Pro-2.local: running parseAuthorization | |
| [2013-01-24T16:58:50.639Z] TRACE: API/21981 on Nicks-MacBook-Pro-2.local: running parseQueryString | |
| [2013-01-24T16:58:50.639Z] TRACE: API/21981 on Nicks-MacBook-Pro-2.local: running parseMultipartBody | |
| [2013-01-24T16:58:50.639Z] TRACE: API/21981 on Nicks-MacBook-Pro-2.local: running readBody | |
| [2013-01-24T16:58:50.639Z] TRACE: API/21981 on Nicks-MacBook-Pro-2.local: running parseJson | |
| [2013-01-24T16:58:50.640Z] TRACE: API/21981 on Nicks-MacBook-Pro-2.local: running gzip |
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 | |
| if ($_POST['facebook'] == 1) { | |
| $facebook = new FB_Post(); | |
| // build message | |
| $data = array( | |
| 'message' => $smsmessage, | |
| 'name' => 'This is the name', |
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
| <html> | |
| <head> | |
| <title>Facebook | Manage Pages</title> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
| <script type="text/javascript"> | |
| var GLOBAL = { | |
| FACEBOOK_APP_ID: 525835520781132 |
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 Dependencies | |
| */ | |
| var Submission = require('./submission') | |
| , mongooseQuery = require('mongoose-api-query') | |
| , mongooseCreatedModified = require('mongoose-createdmodified').createdModifiedPlugin; | |
| /** |
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
| // you'll need to base64 encode the autho header before passing it to the server. | |
| // it's a fairly complex process outside of node, so i'd recommend using this webtoolkit.base64.js @ http://cl.ly/code/0N332C2e1D34 | |
| // to create your encoded header, do something like this: | |
| <script src="webtoolkit.base64.js"></script> | |
| var auth = 'Basic ' + Base64.encode('5IUl3fKao5' + ':' + '426LJy7887QzxC2VG434UmZl2d4brc54'); | |
| // client object | |
| var clientObj = { | |
| name: 'Client Name', |
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 type="text/javascript"> | |
| (function(d, id) { | |
| var tag, | |
| tid = 'mvmt', | |
| ref = d.getElementsByTagName('script')[0]; | |
| if (!d.getElementById(tid)) { | |
| tag = d.createElement('iframe'); | |
| tag.id = tid; | |
| tag.src = '//sweeps-dashboard.herokuapp.com' + '/app?id=' + id; | |
| tag.setAttribute('frameborder', 'no'); |
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
| 2013-02-20T23:08:16+00:00 DEBUG (7): Start Bazaarvoice product feed generation | |
| 2013-02-20T23:08:16+00:00 DEBUG (7): BV - processing all categories | |
| 2013-02-20T23:08:16+00:00 DEBUG (7): BV - Skipping category: root-catalog | |
| 2013-02-20T23:08:16+00:00 DEBUG (7): BV - Skipping category: default-category | |
| 2013-02-20T23:08:17+00:00 DEBUG (7): BV - completed categories, beginning products | |
| 2013-02-20T23:09:19+00:00 DEBUG (7): BV - Skipping product: | |
| 2013-02-20T23:10:17+00:00 DEBUG (7): BV - Skipping product: test | |
| 2013-02-20T23:10:18+00:00 DEBUG (7): BV - completed processing all products | |
| 2013-02-20T23:10:18+00:00 DEBUG (7): BV - starting upload to Bazaarvoice server | |
| 2013-02-20T23:10:18+00:00 ERR (3): Warning: ftp_login(): Login incorrect. in /var/www/vhosts/classicaccessories.com/app/code/local/Bazaarvoice/Helper/Data.php on line 207 |