mosaic-foursquare 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +2 -1
- data/lib/mosaic/foursquare.rb +1 -0
- data/lib/mosaic/foursquare/tip.rb +21 -0
- data/lib/mosaic/foursquare/venue.rb +11 -3
- data/lib/mosaic/foursquare/version.rb +1 -1
- data/spec/foursquare/checkin_spec.rb +27 -0
- data/spec/foursquare/photo_spec.rb +30 -0
- data/spec/foursquare/tip_spec.rb +37 -0
- data/spec/foursquare/update_spec.rb +31 -0
- data/spec/foursquare/user_spec.rb +18 -0
- data/spec/foursquare/venue_spec.rb +58 -0
- data/spec/foursquare_config.yml.example +3 -0
- data/spec/spec.opts +3 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/vcr/fixtures/cassettes/Venue/shared.yml +579 -0
- data/spec/vcr/vcr.rb +7 -0
- metadata +26 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWU4ZWQ0YzM5YjNkNmI1YjdhZGUyMzM1N2MwYjFlZmUwZTRmZjUwNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWU3ZDBhN2UwZWMzYTJhM2MwNmRmYzc5MjFiZjQwNmNiNTVjNzNmMw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTFhZmJjNjg2ODRlMTg1NzM0OGQ4Yjc1N2ZjMjY3M2EwN2Y2NDFkMmIzNzAx
|
10
|
+
ZjIyZTVkODhkNDc0YmYyMDUzMThiMWFlMDg2ODVhMGUwNDkwZDAwNzliNzg2
|
11
|
+
MWFmY2YwMWEwZTczMGUzOTA5NjQwZWI1ODE4NTRiZDY4NzJiNzE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGIyMTU3ZjIyY2U1NDE4MWE3YzYwYjEyMGU1ZmQ1OGY0NDc1YjYyMDk3Yjk2
|
14
|
+
N2FhN2VkY2I0MGQ5YThiY2I2YTVjNjkxY2NhMzdlNjljYWVhODg0ZjNiMWU1
|
15
|
+
Mzg4MmJmOWJiNzJmNWI1ODkxZjgyZjVkZGNhZWRhNjE2ZjE0Nzg=
|
data/.gitignore
CHANGED
data/lib/mosaic/foursquare.rb
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'mosaic/foursquare/object'
|
2
|
+
|
3
|
+
module Mosaic
|
4
|
+
module Foursquare
|
5
|
+
class Tip < Mosaic::Foursquare::Object
|
6
|
+
attr_accessor :created_at, :id, :text, :venue, :user
|
7
|
+
class << self
|
8
|
+
def find(id, options = {})
|
9
|
+
response = query("/tips/#{id}", options)
|
10
|
+
self.new response['response']['tip']
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def initialize(attributes = {})
|
15
|
+
super
|
16
|
+
self.user &&= Mosaic::Foursquare::User.new(self.user)
|
17
|
+
self.venue &&= Mosaic::Foursquare::Venue.new(self.venue)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -26,11 +26,14 @@ module Mosaic
|
|
26
26
|
def initialize(attributes = {})
|
27
27
|
super
|
28
28
|
self.location &&= Mosaic::Foursquare::Venue::Location.new(self.location)
|
29
|
-
self.updates = Mosaic::Foursquare::Update.from_venue(attributes)
|
30
29
|
self.mayor &&= (self.mayor['user'] ? Mosaic::Foursquare::User.new(self.mayor['user']) : nil)
|
31
30
|
self.stats &&= Mosaic::Foursquare::Venue::Stats.new(self.stats)
|
32
|
-
|
33
|
-
|
31
|
+
if attributes["pageUpdates"]
|
32
|
+
self.updates = Mosaic::Foursquare::Update.from_venue(attributes)
|
33
|
+
self.stats.updates_count = attributes["pageUpdates"]["count"]
|
34
|
+
end
|
35
|
+
self.stats.photos_count = attributes["photos"]["count"] if attributes ["photos"]
|
36
|
+
self
|
34
37
|
end
|
35
38
|
|
36
39
|
def herenow(options = {})
|
@@ -42,6 +45,11 @@ module Mosaic
|
|
42
45
|
response = self.class.query("/venues/#{id}/photos", options)
|
43
46
|
response['response']['photos']['items'].collect { |item| Mosaic::Foursquare::Photo.new(item) }
|
44
47
|
end
|
48
|
+
|
49
|
+
def tips(options = {})
|
50
|
+
response = self.class.query("/venues/#{id}/tips", options)
|
51
|
+
response['response']['tips']['items'].collect { |item| Mosaic::Foursquare::Tip.new(item) }
|
52
|
+
end
|
45
53
|
end
|
46
54
|
end
|
47
55
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require File.expand_path('../../spec_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
describe Mosaic::Foursquare::Checkin, :vcr => {:cassette_name => 'Venue/shared'} do
|
4
|
+
context "when authenticated" do
|
5
|
+
before(:each) do
|
6
|
+
Mosaic::Foursquare.configure(:oauth_token => RSpec.configuration.oauth_token)
|
7
|
+
end
|
8
|
+
|
9
|
+
context "and I load a group of checkins from a venue" do
|
10
|
+
let(:checkins){Mosaic::Foursquare::Venue.find(RSpec.configuration.venue_id).herenow}
|
11
|
+
|
12
|
+
it "should be a list of checkins" do
|
13
|
+
expect(checkins).to be_an_instance_of(Array)
|
14
|
+
expect(checkins.first).to be_an_instance_of(Mosaic::Foursquare::Checkin)
|
15
|
+
end
|
16
|
+
|
17
|
+
context "and I load a checkin" do
|
18
|
+
let(:checkin){checkins.first}
|
19
|
+
|
20
|
+
it "should load the author of a checkin" do
|
21
|
+
expect(checkin.user).to be_an_instance_of(Mosaic::Foursquare::User)
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require File.expand_path('../../spec_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
describe Mosaic::Foursquare::Photo, :vcr => {:cassette_name => 'Venue/shared'} do
|
4
|
+
context "when authenticated" do
|
5
|
+
before(:each) do
|
6
|
+
Mosaic::Foursquare.configure(:oauth_token => RSpec.configuration.oauth_token)
|
7
|
+
end
|
8
|
+
|
9
|
+
context "and I load a group of photos from a venue" do
|
10
|
+
let(:photos){Mosaic::Foursquare::Venue.find(RSpec.configuration.venue_id).photos}
|
11
|
+
|
12
|
+
it "should be a list of photos" do
|
13
|
+
expect(photos).to be_an_instance_of(Array)
|
14
|
+
expect(photos.first).to be_an_instance_of(Mosaic::Foursquare::Photo)
|
15
|
+
end
|
16
|
+
|
17
|
+
context "and I load a photo" do
|
18
|
+
let(:photo){photos.first}
|
19
|
+
|
20
|
+
it "should produce the original size with no arguments" do
|
21
|
+
expect(photo.url).to eql("https://irs2.4sqi.net/img/general/original/photopath.jpg")
|
22
|
+
end
|
23
|
+
|
24
|
+
it "should pass arguments into the url" do
|
25
|
+
expect(photo.url("300x500")).to eql("https://irs2.4sqi.net/img/general/300x500/photopath.jpg")
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
require File.expand_path('../../spec_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
describe Mosaic::Foursquare::Tip, :vcr => {:cassette_name => 'Venue/shared'} do
|
4
|
+
context "when authenticated" do
|
5
|
+
before(:each) do
|
6
|
+
Mosaic::Foursquare.configure(:oauth_token => RSpec.configuration.oauth_token)
|
7
|
+
end
|
8
|
+
|
9
|
+
context "and I load a tip" do
|
10
|
+
let(:tip){Mosaic::Foursquare::Tip.find(RSpec.configuration.tip_id)}
|
11
|
+
|
12
|
+
it "should be a tip" do
|
13
|
+
expect(tip).to be_an_instance_of(Mosaic::Foursquare::Tip)
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should assign a venue" do
|
17
|
+
expect(tip.venue).to be_an_instance_of(Mosaic::Foursquare::Venue)
|
18
|
+
end
|
19
|
+
|
20
|
+
it "should assign a user" do
|
21
|
+
expect(tip.user).to be_an_instance_of(Mosaic::Foursquare::User)
|
22
|
+
end
|
23
|
+
|
24
|
+
it "should set text" do
|
25
|
+
expect(tip.text).to eql("Get two slices and a can of soda for only $2.75!")
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
context "and I load a list of tips from a venue" do
|
30
|
+
let(:tips){Mosaic::Foursquare::Venue.find(RSpec.configuration.venue_id).tips}
|
31
|
+
it "should load tips" do
|
32
|
+
expect(tips).to be_an_instance_of(Array)
|
33
|
+
expect(tips.first).to be_an_instance_of(Mosaic::Foursquare::Tip)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require File.expand_path('../../spec_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
describe Mosaic::Foursquare::Update, :vcr => {:cassette_name => 'Venue/shared'} do
|
4
|
+
context "when authenticated" do
|
5
|
+
before(:each) do
|
6
|
+
Mosaic::Foursquare.configure(:oauth_token => RSpec.configuration.oauth_token)
|
7
|
+
end
|
8
|
+
|
9
|
+
context "and I load a group of updates from a venue" do
|
10
|
+
let(:updates){Mosaic::Foursquare::Venue.find(RSpec.configuration.venue_id).updates}
|
11
|
+
|
12
|
+
it "should be a list of updates" do
|
13
|
+
expect(updates).to be_an_instance_of(Array)
|
14
|
+
expect(updates.first).to be_an_instance_of(Mosaic::Foursquare::Update)
|
15
|
+
end
|
16
|
+
|
17
|
+
context "and I load a update" do
|
18
|
+
let(:update){updates.first}
|
19
|
+
|
20
|
+
it "should load any photos attached" do
|
21
|
+
expect(update.photos).to be_an_instance_of(Array)
|
22
|
+
expect(update.photos.first).to be_an_instance_of(Mosaic::Foursquare::Photo)
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should load the text" do
|
26
|
+
expect(update.shout).to eql("Welcome to Test Venue")
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require File.expand_path('../../spec_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
describe Mosaic::Foursquare::User, :vcr => {:cassette_name => 'Venue/shared'} do
|
4
|
+
context "when authenticated" do
|
5
|
+
before(:each) do
|
6
|
+
Mosaic::Foursquare.configure(:oauth_token => RSpec.configuration.oauth_token)
|
7
|
+
end
|
8
|
+
|
9
|
+
context "and I load the mayor of a venue" do
|
10
|
+
let(:user){Mosaic::Foursquare::Venue.find(RSpec.configuration.venue_id).mayor}
|
11
|
+
|
12
|
+
it "should load their profile photo" do
|
13
|
+
expect(user.photo).to be_an_instance_of(Mosaic::Foursquare::Photo)
|
14
|
+
expect(user.photo.url).to eql("https://irs2.4sqi.net/img/user/original/photid.jpg")
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require File.expand_path('../../spec_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
describe Mosaic::Foursquare::Venue, :vcr => {:cassette_name => 'Venue/shared'} do
|
4
|
+
|
5
|
+
context "when authenticated" do
|
6
|
+
before(:each) do
|
7
|
+
Mosaic::Foursquare.configure(:oauth_token => RSpec.configuration.oauth_token)
|
8
|
+
end
|
9
|
+
|
10
|
+
it "should be able to load a venue" do
|
11
|
+
venue = Mosaic::Foursquare::Venue.find(RSpec.configuration.venue_id)
|
12
|
+
expect(venue).to be_an_instance_of(Mosaic::Foursquare::Venue)
|
13
|
+
end
|
14
|
+
|
15
|
+
context "with a venue" do
|
16
|
+
let(:venue){Mosaic::Foursquare::Venue.find(RSpec.configuration.venue_id)}
|
17
|
+
|
18
|
+
it "should associate the mayor correctly" do
|
19
|
+
expect(venue.mayor).to be_an_instance_of(Mosaic::Foursquare::User)
|
20
|
+
end
|
21
|
+
|
22
|
+
it "should assign a location" do
|
23
|
+
expect(venue.location).to be_an_instance_of(Mosaic::Foursquare::Venue::Location)
|
24
|
+
end
|
25
|
+
|
26
|
+
it "should assign the updates correctly" do
|
27
|
+
expect(venue.updates).to be_an_instance_of(Array)
|
28
|
+
expect(venue.updates.first).to be_an_instance_of(Mosaic::Foursquare::Update)
|
29
|
+
end
|
30
|
+
|
31
|
+
it "should create a statistics object" do
|
32
|
+
expect(venue.stats).to be_an_instance_of(Mosaic::Foursquare::Venue::Stats)
|
33
|
+
end
|
34
|
+
|
35
|
+
it "should assign the checkins count" do
|
36
|
+
expect(venue.stats.checkins_count).to eql(468)
|
37
|
+
end
|
38
|
+
|
39
|
+
it "should assign the users count" do
|
40
|
+
expect(venue.stats.users_count).to eql(58)
|
41
|
+
end
|
42
|
+
|
43
|
+
it "should assign the tip count " do
|
44
|
+
expect(venue.stats.tip_count).to eql(0)
|
45
|
+
end
|
46
|
+
|
47
|
+
it "should assign the photos count" do
|
48
|
+
expect(venue.stats.photos_count).to eql(16)
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should assign the update count" do
|
52
|
+
expect(venue.stats.updates_count).to eql(1)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
|
58
|
+
end
|
data/spec/spec.opts
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# $:.push File.expand_path("../lib", __FILE__)
|
2
|
+
# require 'lib/mosaic_facebook'
|
3
|
+
|
4
|
+
require 'rubygems'
|
5
|
+
require 'bundler/setup'
|
6
|
+
require 'vcr'
|
7
|
+
Bundler.require(:default)
|
8
|
+
|
9
|
+
SPEC_DIR = File.dirname(__FILE__)
|
10
|
+
# lib_path = File.expand_path("#{SPEC_DIR}/../lib")
|
11
|
+
# $LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path)
|
12
|
+
require "#{SPEC_DIR}/vcr/vcr"
|
13
|
+
|
14
|
+
require 'mosaic-foursquare'
|
15
|
+
FOURSQUARE_CONFIG = YAML.load(File.open("#{SPEC_DIR}/foursquare_config.yml", 'r'))
|
16
|
+
|
17
|
+
RSpec.configure do |config|
|
18
|
+
config.add_setting :oauth_token, :default => FOURSQUARE_CONFIG["oauth_token"]
|
19
|
+
config.add_setting :venue_id, :default => FOURSQUARE_CONFIG["venue_id"]
|
20
|
+
config.add_setting :tip_id, :default => FOURSQUARE_CONFIG["tip_id"]
|
21
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
22
|
+
end
|
@@ -0,0 +1,579 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.foursquare.com/v2/venues/venue_id?oauth_token=oauth_token&v=20130614
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers: {}
|
10
|
+
|
11
|
+
response:
|
12
|
+
status:
|
13
|
+
code: 200
|
14
|
+
message: OK
|
15
|
+
headers:
|
16
|
+
Date:
|
17
|
+
- Fri, 14 Jun 2013 18:34:26 GMT
|
18
|
+
Server:
|
19
|
+
- ngx_openresty/1.2.3.8
|
20
|
+
Content-Type:
|
21
|
+
- application/json; charset=utf-8
|
22
|
+
Access-Control-Allow-Origin:
|
23
|
+
- "*"
|
24
|
+
Tracer-Time:
|
25
|
+
- "171"
|
26
|
+
X-Ratelimit-Limit:
|
27
|
+
- "0"
|
28
|
+
X-Ratelimit-Remaining:
|
29
|
+
- "0"
|
30
|
+
Strict-Transport-Security:
|
31
|
+
- max-age=864000
|
32
|
+
X-Ex:
|
33
|
+
- fastly_cdn
|
34
|
+
Content-Length:
|
35
|
+
- "7418"
|
36
|
+
Accept-Ranges:
|
37
|
+
- bytes
|
38
|
+
Via:
|
39
|
+
- 1.1 varnish
|
40
|
+
Age:
|
41
|
+
- "0"
|
42
|
+
X-Served-By:
|
43
|
+
- cache-v36-ASH
|
44
|
+
X-Cache:
|
45
|
+
- MISS
|
46
|
+
X-Cache-Hits:
|
47
|
+
- "0"
|
48
|
+
body:
|
49
|
+
encoding: US-ASCII
|
50
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"venue\":{\"id\":\"venue_id\",\"name\":\"Mosaic Sales Solutions\",\"contact\":{\"twitter\":\"mosaicna\"},\"location\":{\"address\":\"100 Liberty St.\",\"lat\":43.63792664630825,\"lng\":-79.42476481873426,\"radius50\":16,\"radius90\":300,\"postalCode\":\"M6K 3L7\",\"city\":\"Toronto\",\"state\":\"ON\",\"country\":\"Canada\",\"cc\":\"CA\"},\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/v\\/mosaic-sales-solutions\\/venue_id\",\"categories\":[{\"id\":\"4bf58dd8d48988d124941735\",\"name\":\"Office\",\"pluralName\":\"Offices\",\"shortName\":\"Corporate \\/ Office\",\"icon\":{\"prefix\":\"https:\\/\\/foursquare.com\\/img\\/categories_v2\\/building\\/default_\",\"suffix\":\".png\"},\"primary\":true}],\"verified\":true,\"stats\":{\"checkinsCount\":468,\"usersCount\":58,\"tipCount\":0},\"url\":\"http:\\/\\/www.mosaic.com\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[{\"id\":\"6825177\",\"firstName\":\"Alison\",\"lastName\":\"T.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/DW3PI2TBC5CB4WW3.jpg\"}}]}],\"summary\":\"Alison T\"},\"like\":false,\"dislike\":false,\"friendVisits\":{\"count\":1,\"summary\":\"You've been here\",\"items\":[{\"visitedCount\":7,\"liked\":false,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}}}]},\"beenHere\":{\"count\":7,\"marked\":true},\"specials\":{\"count\":0,\"items\":[]},\"photos\":{\"count\":16,\"groups\":[{\"type\":\"venue\",\"name\":\"Venue photos\",\"count\":16,\"items\":[{\"id\":\"50a66c82498e38a3121ca08e\",\"createdAt\":1353084034,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/photopath.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51ba060f498e4a6d22f8e9fc\",\"createdAt\":1371145743,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/150695_9k-4vbHIvBcCDsbZczQMlqAOahoyhte0ruBtOcHOCXw.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"150695\",\"firstName\":\"S Brent\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/T0TUPCSMEC0VPEGC.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f99c02de4b0904b0183a425\",\"createdAt\":1335476269,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/_tPARpvT0kAY7X4kLq3ck7kgGaqlsVEfD6JMDJjqo1g.jpg\",\"width\":537,\"height\":720,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f31784de4b010a3c037996e\",\"createdAt\":1328642125,\"source\":{\"name\":\"foursquare for BlackBerry\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/blackberry\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/dJqEpqYg-HhRQRt3byz-Ci8rbEaltjBXsLZC2yhZ9Ko.jpg\",\"width\":346,\"height\":461,\"user\":{\"id\":\"7090923\",\"firstName\":\"Ashleigh\",\"lastName\":\"M.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/LMTAKTQOTOBIHY2J.jpg\"}},\"visibility\":\"public\"},{\"id\":\"511d0dd2e4b0962fa8dec2da\",\"createdAt\":1360858578,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/64093_6KYfbFthAGGXNdUpJYE9bR2tquxYAWVQVLKNAlXJ4TY.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51534173e4b0276ef48e91de\",\"createdAt\":1364410739,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/1383760_LZnXDGadsoZbTarHJPOk_v6MFMeIkBrn86V_LXMS7Sw.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"}]}]},\"hereNow\":{\"count\":1,\"summary\":\"You are here\",\"groups\":[{\"type\":\"friends\",\"name\":\"Friends here\",\"count\":1,\"items\":[{\"id\":\"51bb6224498e807919ff3678\",\"createdAt\":1371234852,\"type\":\"checkin\",\"timeZoneOffset\":-240,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}}}]}]},\"venuePage\":{\"id\":\"58526926\"},\"reasons\":{\"count\":1,\"items\":[{\"summary\":\"You're here! +1 point\",\"type\":\"general\",\"reasonName\":\"hereNowReason\",\"target\":{\"type\":\"navigation\",\"object\":{\"id\":\"51bb6232498eb6b5cc78dc80\",\"type\":\"checkinDetail\",\"target\":{\"type\":\"path\",\"url\":\"\\/checkins\\/51bb6224498e807919ff3678\"},\"ignorable\":false}}}]},\"description\":\"Toronto Hub\",\"createdAt\":1327937015,\"mayor\":{\"count\":10,\"user\":{\"id\":\"1098436\",\"firstName\":\"Julie\",\"lastName\":\"S.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/photid.jpg\"}}},\"tips\":{\"count\":0,\"groups\":[]},\"tags\":[],\"shortUrl\":\"http:\\/\\/4sq.com\\/zFqVtz\",\"timeZone\":\"America\\/Toronto\",\"listed\":{\"count\":0,\"groups\":[]},\"roles\":[\"manager\"],\"page\":{\"user\":{\"id\":\"58526926\",\"firstName\":\"Mosaic Sales Solutions\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IOZFSQWJEE3ZU5C1.png\"},\"type\":\"venuePage\",\"venue\":{\"id\":\"venue_id\"},\"tips\":{\"count\":0},\"homeCity\":\"Toronto, ON\",\"bio\":\"\",\"contact\":{}}},\"popular\":{\"status\":\"None listed\",\"isOpen\":false,\"timeframes\":[{\"days\":\"Today\",\"includesToday\":true,\"open\":[{\"renderedTime\":\"6:00 AM\\u20132:00 PM\"}],\"segments\":[]},{\"days\":\"Sat\\u2013Sun\",\"open\":[{\"renderedTime\":\"None\"}],\"segments\":[]},{\"days\":\"Mon\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20131:00 PM\"}],\"segments\":[]},{\"days\":\"Tue\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20135:00 PM\"}],\"segments\":[]},{\"days\":\"Wed\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20134:00 PM\"}],\"segments\":[]},{\"days\":\"Thu\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20135:00 PM\"}],\"segments\":[]}]},\"pageUpdates\":{\"count\":1,\"items\":[{\"id\":\"51ba2db4498eebae7ad9dcf1\",\"createdAt\":1371155892,\"page\":{\"id\":\"58526926\",\"firstName\":\"Mosaic Sales Solutions\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IOZFSQWJEE3ZU5C1.png\"},\"type\":\"venuePage\",\"venue\":{\"id\":\"venue_id\"},\"tips\":{\"count\":0},\"homeCity\":\"Toronto, ON\",\"bio\":\"\",\"contact\":{}},\"shout\":\"Welcome to Test Venue\",\"entities\":[],\"photos\":{\"count\":1,\"items\":[{\"id\":\"51ba2db4498e955a3a98c977\",\"createdAt\":1371155892,\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/58526926_8juZxNlpCOOIM5nM4Iad6LfMBNj2SXjt3Lc4TV6ThrQ.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"58526926\",\"firstName\":\"Mosaic Sales Solutions\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IOZFSQWJEE3ZU5C1.png\"},\"type\":\"venuePage\",\"venue\":{\"id\":\"venue_id\"}},\"visibility\":\"public\"}]},\"logView\":true,\"likes\":{\"count\":0,\"groups\":[]},\"like\":false}]},\"storeId\":\"\"}}}"
|
51
|
+
http_version:
|
52
|
+
recorded_at: Fri, 14 Jun 2013 18:34:23 GMT
|
53
|
+
- request:
|
54
|
+
method: get
|
55
|
+
uri: https://api.foursquare.com/v2/venues/venue_id/herenow?oauth_token=oauth_token&v=20130614
|
56
|
+
body:
|
57
|
+
encoding: US-ASCII
|
58
|
+
string: ""
|
59
|
+
headers: {}
|
60
|
+
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 200
|
64
|
+
message: OK
|
65
|
+
headers:
|
66
|
+
Date:
|
67
|
+
- Fri, 14 Jun 2013 18:34:26 GMT
|
68
|
+
Server:
|
69
|
+
- ngx_openresty/1.2.3.8
|
70
|
+
Content-Type:
|
71
|
+
- application/json; charset=utf-8
|
72
|
+
Access-Control-Allow-Origin:
|
73
|
+
- "*"
|
74
|
+
Tracer-Time:
|
75
|
+
- "18"
|
76
|
+
X-Ratelimit-Limit:
|
77
|
+
- "0"
|
78
|
+
X-Ratelimit-Remaining:
|
79
|
+
- "0"
|
80
|
+
Strict-Transport-Security:
|
81
|
+
- max-age=864000
|
82
|
+
X-Ex:
|
83
|
+
- fastly_cdn
|
84
|
+
Content-Length:
|
85
|
+
- "464"
|
86
|
+
Accept-Ranges:
|
87
|
+
- bytes
|
88
|
+
Via:
|
89
|
+
- 1.1 varnish
|
90
|
+
Age:
|
91
|
+
- "0"
|
92
|
+
X-Served-By:
|
93
|
+
- cache-v41-ASH
|
94
|
+
X-Cache:
|
95
|
+
- MISS
|
96
|
+
X-Cache-Hits:
|
97
|
+
- "0"
|
98
|
+
body:
|
99
|
+
encoding: US-ASCII
|
100
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"hereNow\":{\"count\":1,\"items\":[{\"id\":\"51bb6224498e807919ff3678\",\"createdAt\":1371234852,\"type\":\"checkin\",\"timeZoneOffset\":-240,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}},\"likes\":{\"count\":0,\"groups\":[]},\"like\":false}]}}}"
|
101
|
+
http_version:
|
102
|
+
recorded_at: Fri, 14 Jun 2013 18:34:23 GMT
|
103
|
+
- request:
|
104
|
+
method: get
|
105
|
+
uri: https://api.foursquare.com/v2/venues/venue_id/photos?oauth_token=oauth_token&v=20130614
|
106
|
+
body:
|
107
|
+
encoding: US-ASCII
|
108
|
+
string: ""
|
109
|
+
headers: {}
|
110
|
+
|
111
|
+
response:
|
112
|
+
status:
|
113
|
+
code: 200
|
114
|
+
message: OK
|
115
|
+
headers:
|
116
|
+
Date:
|
117
|
+
- Fri, 14 Jun 2013 18:34:26 GMT
|
118
|
+
Server:
|
119
|
+
- ngx_openresty/1.2.3.8
|
120
|
+
Content-Type:
|
121
|
+
- application/json; charset=utf-8
|
122
|
+
Access-Control-Allow-Origin:
|
123
|
+
- "*"
|
124
|
+
Tracer-Time:
|
125
|
+
- "55"
|
126
|
+
X-Ratelimit-Limit:
|
127
|
+
- "0"
|
128
|
+
X-Ratelimit-Remaining:
|
129
|
+
- "0"
|
130
|
+
Strict-Transport-Security:
|
131
|
+
- max-age=864000
|
132
|
+
X-Ex:
|
133
|
+
- fastly_cdn
|
134
|
+
Content-Length:
|
135
|
+
- "7799"
|
136
|
+
Accept-Ranges:
|
137
|
+
- bytes
|
138
|
+
Via:
|
139
|
+
- 1.1 varnish
|
140
|
+
Age:
|
141
|
+
- "0"
|
142
|
+
X-Served-By:
|
143
|
+
- cache-v43-ASH
|
144
|
+
X-Cache:
|
145
|
+
- MISS
|
146
|
+
X-Cache-Hits:
|
147
|
+
- "0"
|
148
|
+
body:
|
149
|
+
encoding: US-ASCII
|
150
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"photos\":{\"count\":16,\"items\":[{\"id\":\"50a66c82498e38a3121ca08e\",\"createdAt\":1353084034,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/photopath.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51ba060f498e4a6d22f8e9fc\",\"createdAt\":1371145743,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/150695_9k-4vbHIvBcCDsbZczQMlqAOahoyhte0ruBtOcHOCXw.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"150695\",\"firstName\":\"S Brent\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/T0TUPCSMEC0VPEGC.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f99c02de4b0904b0183a425\",\"createdAt\":1335476269,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/_tPARpvT0kAY7X4kLq3ck7kgGaqlsVEfD6JMDJjqo1g.jpg\",\"width\":537,\"height\":720,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f31784de4b010a3c037996e\",\"createdAt\":1328642125,\"source\":{\"name\":\"foursquare for BlackBerry\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/blackberry\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/dJqEpqYg-HhRQRt3byz-Ci8rbEaltjBXsLZC2yhZ9Ko.jpg\",\"width\":346,\"height\":461,\"user\":{\"id\":\"7090923\",\"firstName\":\"Ashleigh\",\"lastName\":\"M.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/LMTAKTQOTOBIHY2J.jpg\"}},\"visibility\":\"public\"},{\"id\":\"511d0dd2e4b0962fa8dec2da\",\"createdAt\":1360858578,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/64093_6KYfbFthAGGXNdUpJYE9bR2tquxYAWVQVLKNAlXJ4TY.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51534173e4b0276ef48e91de\",\"createdAt\":1364410739,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/1383760_LZnXDGadsoZbTarHJPOk_v6MFMeIkBrn86V_LXMS7Sw.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d793be4b013d9a539ddaf\",\"createdAt\":1334671675,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/pYOnQb98XkxjSYPZ4MiWmJSLm2_T9apFg93qTQJqvRw.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d7902e4b09ac7a7f5ab64\",\"createdAt\":1334671618,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/F2utuUfo9yPKuszWd75Ey2eOxrwHsbwsKb7W4Xmbf-w.jpg\",\"width\":720,\"height\":537,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d78d6e4b08f9379a72fca\",\"createdAt\":1334671574,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/UR-S62SzK6Pxck4hBHuOs2T3-h5cBaLW_hzKgKDajJs.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d78abe4b02244912c1960\",\"createdAt\":1334671531,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/NaexIu_c7uhrFFOslRk-c9Ruq-BqCsKJCFwSZQjGhhw.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51ba0579498e4bda57e1f154\",\"createdAt\":1371145593,\"source\":{\"name\":\"foursquare for Android\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/android\"},\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/47216706_gQUCcv8CawVcf3nR_hphrWXX1QxgDqQINFsbpCF64Uk.jpg\",\"width\":640,\"height\":960,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}},\"visibility\":\"public\"},{\"id\":\"51b8bcff498ecd5bbdaf7608\",\"createdAt\":1371061503,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/150695_o4KY9mHmhsuZAg9XB3dUq3Tpkwgwts9YFVwVnhfNQ3w.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"150695\",\"firstName\":\"S Brent\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/T0TUPCSMEC0VPEGC.jpg\"}},\"visibility\":\"public\"},{\"id\":\"50d0f198e4b0bb4715475c3d\",\"createdAt\":1355870616,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/64093_enEtmOqcaL5daGushQNdL_tbXdmiBDr0lkHJxy1u37E.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"50b8e4d4e4b0e015e448565c\",\"createdAt\":1354294484,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/789540_tozWpLC2vq7xguO7SDgkhN1_SFHMOwl_NAwgGCubpKg.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"789540\",\"firstName\":\"kaitlin\",\"lastName\":\"h.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/U2B4LV4GVD5HINIA.jpg\"}},\"visibility\":\"public\"},{\"id\":\"502d1fd2e4b0d68f36a3b8eb\",\"createdAt\":1345134546,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/nHeGnvHA6f6XSCGN9BBc11n8wNKeoMujR69sCeWRcdE.jpg\",\"width\":720,\"height\":540,\"user\":{\"id\":\"23756022\",\"firstName\":\"Stephan\",\"lastName\":\"G.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ILC43H2JIUO2RUVY.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d7884e4b08101160bdec8\",\"createdAt\":1334671492,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/nwesuQsT8PtThRaAbPjBhhEISigJfi86-79utbdqSww.jpg\",\"width\":720,\"height\":537,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"}],\"dupesRemoved\":0}}}"
|
151
|
+
http_version:
|
152
|
+
recorded_at: Fri, 14 Jun 2013 18:34:24 GMT
|
153
|
+
- request:
|
154
|
+
method: get
|
155
|
+
uri: https://api.foursquare.com/v2/venues/venue_id?oauth_token=oauth_token&v=20130614
|
156
|
+
body:
|
157
|
+
encoding: US-ASCII
|
158
|
+
string: ""
|
159
|
+
headers: {}
|
160
|
+
|
161
|
+
response:
|
162
|
+
status:
|
163
|
+
code: 200
|
164
|
+
message: OK
|
165
|
+
headers:
|
166
|
+
Date:
|
167
|
+
- Fri, 14 Jun 2013 19:10:58 GMT
|
168
|
+
Server:
|
169
|
+
- ngx_openresty/1.2.3.8
|
170
|
+
Content-Type:
|
171
|
+
- application/json; charset=utf-8
|
172
|
+
Access-Control-Allow-Origin:
|
173
|
+
- "*"
|
174
|
+
Tracer-Time:
|
175
|
+
- "908"
|
176
|
+
X-Ratelimit-Limit:
|
177
|
+
- "0"
|
178
|
+
X-Ratelimit-Remaining:
|
179
|
+
- "0"
|
180
|
+
Strict-Transport-Security:
|
181
|
+
- max-age=864000
|
182
|
+
X-Ex:
|
183
|
+
- fastly_cdn
|
184
|
+
Content-Length:
|
185
|
+
- "7418"
|
186
|
+
Accept-Ranges:
|
187
|
+
- bytes
|
188
|
+
Via:
|
189
|
+
- 1.1 varnish
|
190
|
+
Age:
|
191
|
+
- "0"
|
192
|
+
X-Served-By:
|
193
|
+
- cache-v37-ASH
|
194
|
+
X-Cache:
|
195
|
+
- MISS
|
196
|
+
X-Cache-Hits:
|
197
|
+
- "0"
|
198
|
+
body:
|
199
|
+
encoding: US-ASCII
|
200
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"venue\":{\"id\":\"venue_id\",\"name\":\"Mosaic Sales Solutions\",\"contact\":{\"twitter\":\"mosaicna\"},\"location\":{\"address\":\"100 Liberty St.\",\"lat\":43.63792664630825,\"lng\":-79.42476481873426,\"radius50\":16,\"radius90\":300,\"postalCode\":\"M6K 3L7\",\"city\":\"Toronto\",\"state\":\"ON\",\"country\":\"Canada\",\"cc\":\"CA\"},\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/v\\/mosaic-sales-solutions\\/venue_id\",\"categories\":[{\"id\":\"4bf58dd8d48988d124941735\",\"name\":\"Office\",\"pluralName\":\"Offices\",\"shortName\":\"Corporate \\/ Office\",\"icon\":{\"prefix\":\"https:\\/\\/foursquare.com\\/img\\/categories_v2\\/building\\/default_\",\"suffix\":\".png\"},\"primary\":true}],\"verified\":true,\"stats\":{\"checkinsCount\":468,\"usersCount\":58,\"tipCount\":0},\"url\":\"http:\\/\\/www.mosaic.com\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[{\"id\":\"6825177\",\"firstName\":\"Alison\",\"lastName\":\"T.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/DW3PI2TBC5CB4WW3.jpg\"}}]}],\"summary\":\"Alison T\"},\"like\":false,\"dislike\":false,\"friendVisits\":{\"count\":1,\"summary\":\"You've been here\",\"items\":[{\"visitedCount\":7,\"liked\":false,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}}}]},\"beenHere\":{\"count\":7,\"marked\":true},\"specials\":{\"count\":0,\"items\":[]},\"photos\":{\"count\":16,\"groups\":[{\"type\":\"venue\",\"name\":\"Venue photos\",\"count\":16,\"items\":[{\"id\":\"50a66c82498e38a3121ca08e\",\"createdAt\":1353084034,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/photopath.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51ba060f498e4a6d22f8e9fc\",\"createdAt\":1371145743,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/150695_9k-4vbHIvBcCDsbZczQMlqAOahoyhte0ruBtOcHOCXw.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"150695\",\"firstName\":\"S Brent\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/T0TUPCSMEC0VPEGC.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f99c02de4b0904b0183a425\",\"createdAt\":1335476269,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/_tPARpvT0kAY7X4kLq3ck7kgGaqlsVEfD6JMDJjqo1g.jpg\",\"width\":537,\"height\":720,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f31784de4b010a3c037996e\",\"createdAt\":1328642125,\"source\":{\"name\":\"foursquare for BlackBerry\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/blackberry\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/dJqEpqYg-HhRQRt3byz-Ci8rbEaltjBXsLZC2yhZ9Ko.jpg\",\"width\":346,\"height\":461,\"user\":{\"id\":\"7090923\",\"firstName\":\"Ashleigh\",\"lastName\":\"M.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/LMTAKTQOTOBIHY2J.jpg\"}},\"visibility\":\"public\"},{\"id\":\"511d0dd2e4b0962fa8dec2da\",\"createdAt\":1360858578,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/64093_6KYfbFthAGGXNdUpJYE9bR2tquxYAWVQVLKNAlXJ4TY.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51534173e4b0276ef48e91de\",\"createdAt\":1364410739,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/1383760_LZnXDGadsoZbTarHJPOk_v6MFMeIkBrn86V_LXMS7Sw.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"}]}]},\"hereNow\":{\"count\":1,\"summary\":\"You are here\",\"groups\":[{\"type\":\"friends\",\"name\":\"Friends here\",\"count\":1,\"items\":[{\"id\":\"51bb6224498e807919ff3678\",\"createdAt\":1371234852,\"type\":\"checkin\",\"timeZoneOffset\":-240,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}}}]}]},\"venuePage\":{\"id\":\"58526926\"},\"reasons\":{\"count\":1,\"items\":[{\"summary\":\"You're here! +1 point\",\"type\":\"general\",\"reasonName\":\"hereNowReason\",\"target\":{\"type\":\"navigation\",\"object\":{\"id\":\"51bb6ac2498e58ef374af255\",\"type\":\"checkinDetail\",\"target\":{\"type\":\"path\",\"url\":\"\\/checkins\\/51bb6224498e807919ff3678\"},\"ignorable\":false}}}]},\"description\":\"Toronto Hub\",\"createdAt\":1327937015,\"mayor\":{\"count\":10,\"user\":{\"id\":\"1098436\",\"firstName\":\"Julie\",\"lastName\":\"S.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/photid.jpg\"}}},\"tips\":{\"count\":0,\"groups\":[]},\"tags\":[],\"shortUrl\":\"http:\\/\\/4sq.com\\/zFqVtz\",\"timeZone\":\"America\\/Toronto\",\"listed\":{\"count\":0,\"groups\":[]},\"roles\":[\"manager\"],\"page\":{\"user\":{\"id\":\"58526926\",\"firstName\":\"Mosaic Sales Solutions\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IOZFSQWJEE3ZU5C1.png\"},\"type\":\"venuePage\",\"venue\":{\"id\":\"venue_id\"},\"tips\":{\"count\":0},\"homeCity\":\"Toronto, ON\",\"bio\":\"\",\"contact\":{}}},\"popular\":{\"status\":\"None listed\",\"isOpen\":false,\"timeframes\":[{\"days\":\"Today\",\"includesToday\":true,\"open\":[{\"renderedTime\":\"6:00 AM\\u20132:00 PM\"}],\"segments\":[]},{\"days\":\"Sat\\u2013Sun\",\"open\":[{\"renderedTime\":\"None\"}],\"segments\":[]},{\"days\":\"Mon\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20131:00 PM\"}],\"segments\":[]},{\"days\":\"Tue\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20135:00 PM\"}],\"segments\":[]},{\"days\":\"Wed\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20134:00 PM\"}],\"segments\":[]},{\"days\":\"Thu\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20135:00 PM\"}],\"segments\":[]}]},\"pageUpdates\":{\"count\":1,\"items\":[{\"id\":\"51ba2db4498eebae7ad9dcf1\",\"createdAt\":1371155892,\"page\":{\"id\":\"58526926\",\"firstName\":\"Mosaic Sales Solutions\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IOZFSQWJEE3ZU5C1.png\"},\"type\":\"venuePage\",\"venue\":{\"id\":\"venue_id\"},\"tips\":{\"count\":0},\"homeCity\":\"Toronto, ON\",\"bio\":\"\",\"contact\":{}},\"shout\":\"Welcome to Test Venue\",\"entities\":[],\"photos\":{\"count\":1,\"items\":[{\"id\":\"51ba2db4498e955a3a98c977\",\"createdAt\":1371155892,\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/58526926_8juZxNlpCOOIM5nM4Iad6LfMBNj2SXjt3Lc4TV6ThrQ.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"58526926\",\"firstName\":\"Mosaic Sales Solutions\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IOZFSQWJEE3ZU5C1.png\"},\"type\":\"venuePage\",\"venue\":{\"id\":\"venue_id\"}},\"visibility\":\"public\"}]},\"logView\":true,\"likes\":{\"count\":0,\"groups\":[]},\"like\":false}]},\"storeId\":\"\"}}}"
|
201
|
+
http_version:
|
202
|
+
recorded_at: Fri, 14 Jun 2013 19:10:55 GMT
|
203
|
+
- request:
|
204
|
+
method: get
|
205
|
+
uri: https://api.foursquare.com/v2/venues/venue_id/herenow?oauth_token=oauth_token&v=20130614
|
206
|
+
body:
|
207
|
+
encoding: US-ASCII
|
208
|
+
string: ""
|
209
|
+
headers: {}
|
210
|
+
|
211
|
+
response:
|
212
|
+
status:
|
213
|
+
code: 200
|
214
|
+
message: OK
|
215
|
+
headers:
|
216
|
+
Date:
|
217
|
+
- Fri, 14 Jun 2013 19:10:58 GMT
|
218
|
+
Server:
|
219
|
+
- ngx_openresty/1.2.3.8
|
220
|
+
Content-Type:
|
221
|
+
- application/json; charset=utf-8
|
222
|
+
Access-Control-Allow-Origin:
|
223
|
+
- "*"
|
224
|
+
Tracer-Time:
|
225
|
+
- "44"
|
226
|
+
X-Ratelimit-Limit:
|
227
|
+
- "0"
|
228
|
+
X-Ratelimit-Remaining:
|
229
|
+
- "0"
|
230
|
+
Strict-Transport-Security:
|
231
|
+
- max-age=864000
|
232
|
+
X-Ex:
|
233
|
+
- fastly_cdn
|
234
|
+
Content-Length:
|
235
|
+
- "464"
|
236
|
+
Accept-Ranges:
|
237
|
+
- bytes
|
238
|
+
Via:
|
239
|
+
- 1.1 varnish
|
240
|
+
Age:
|
241
|
+
- "0"
|
242
|
+
X-Served-By:
|
243
|
+
- cache-v41-ASH
|
244
|
+
X-Cache:
|
245
|
+
- MISS
|
246
|
+
X-Cache-Hits:
|
247
|
+
- "0"
|
248
|
+
body:
|
249
|
+
encoding: US-ASCII
|
250
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"hereNow\":{\"count\":1,\"items\":[{\"id\":\"51bb6224498e807919ff3678\",\"createdAt\":1371234852,\"type\":\"checkin\",\"timeZoneOffset\":-240,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}},\"likes\":{\"count\":0,\"groups\":[]},\"like\":false}]}}}"
|
251
|
+
http_version:
|
252
|
+
recorded_at: Fri, 14 Jun 2013 19:10:55 GMT
|
253
|
+
- request:
|
254
|
+
method: get
|
255
|
+
uri: https://api.foursquare.com/v2/venues/venue_id/photos?oauth_token=oauth_token&v=20130614
|
256
|
+
body:
|
257
|
+
encoding: US-ASCII
|
258
|
+
string: ""
|
259
|
+
headers: {}
|
260
|
+
|
261
|
+
response:
|
262
|
+
status:
|
263
|
+
code: 200
|
264
|
+
message: OK
|
265
|
+
headers:
|
266
|
+
Date:
|
267
|
+
- Fri, 14 Jun 2013 19:10:58 GMT
|
268
|
+
Server:
|
269
|
+
- ngx_openresty/1.2.3.8
|
270
|
+
Content-Type:
|
271
|
+
- application/json; charset=utf-8
|
272
|
+
Access-Control-Allow-Origin:
|
273
|
+
- "*"
|
274
|
+
Tracer-Time:
|
275
|
+
- "58"
|
276
|
+
X-Ratelimit-Limit:
|
277
|
+
- "0"
|
278
|
+
X-Ratelimit-Remaining:
|
279
|
+
- "0"
|
280
|
+
Strict-Transport-Security:
|
281
|
+
- max-age=864000
|
282
|
+
X-Ex:
|
283
|
+
- fastly_cdn
|
284
|
+
Content-Length:
|
285
|
+
- "7799"
|
286
|
+
Accept-Ranges:
|
287
|
+
- bytes
|
288
|
+
Via:
|
289
|
+
- 1.1 varnish
|
290
|
+
Age:
|
291
|
+
- "0"
|
292
|
+
X-Served-By:
|
293
|
+
- cache-v42-ASH
|
294
|
+
X-Cache:
|
295
|
+
- MISS
|
296
|
+
X-Cache-Hits:
|
297
|
+
- "0"
|
298
|
+
body:
|
299
|
+
encoding: US-ASCII
|
300
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"photos\":{\"count\":16,\"items\":[{\"id\":\"50a66c82498e38a3121ca08e\",\"createdAt\":1353084034,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/photopath.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51ba060f498e4a6d22f8e9fc\",\"createdAt\":1371145743,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/150695_9k-4vbHIvBcCDsbZczQMlqAOahoyhte0ruBtOcHOCXw.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"150695\",\"firstName\":\"S Brent\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/T0TUPCSMEC0VPEGC.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f99c02de4b0904b0183a425\",\"createdAt\":1335476269,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/_tPARpvT0kAY7X4kLq3ck7kgGaqlsVEfD6JMDJjqo1g.jpg\",\"width\":537,\"height\":720,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f31784de4b010a3c037996e\",\"createdAt\":1328642125,\"source\":{\"name\":\"foursquare for BlackBerry\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/blackberry\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/dJqEpqYg-HhRQRt3byz-Ci8rbEaltjBXsLZC2yhZ9Ko.jpg\",\"width\":346,\"height\":461,\"user\":{\"id\":\"7090923\",\"firstName\":\"Ashleigh\",\"lastName\":\"M.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/LMTAKTQOTOBIHY2J.jpg\"}},\"visibility\":\"public\"},{\"id\":\"511d0dd2e4b0962fa8dec2da\",\"createdAt\":1360858578,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/64093_6KYfbFthAGGXNdUpJYE9bR2tquxYAWVQVLKNAlXJ4TY.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51534173e4b0276ef48e91de\",\"createdAt\":1364410739,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/1383760_LZnXDGadsoZbTarHJPOk_v6MFMeIkBrn86V_LXMS7Sw.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d793be4b013d9a539ddaf\",\"createdAt\":1334671675,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/pYOnQb98XkxjSYPZ4MiWmJSLm2_T9apFg93qTQJqvRw.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d7902e4b09ac7a7f5ab64\",\"createdAt\":1334671618,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/F2utuUfo9yPKuszWd75Ey2eOxrwHsbwsKb7W4Xmbf-w.jpg\",\"width\":720,\"height\":537,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d78d6e4b08f9379a72fca\",\"createdAt\":1334671574,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/UR-S62SzK6Pxck4hBHuOs2T3-h5cBaLW_hzKgKDajJs.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d78abe4b02244912c1960\",\"createdAt\":1334671531,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/NaexIu_c7uhrFFOslRk-c9Ruq-BqCsKJCFwSZQjGhhw.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51ba0579498e4bda57e1f154\",\"createdAt\":1371145593,\"source\":{\"name\":\"foursquare for Android\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/android\"},\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/47216706_gQUCcv8CawVcf3nR_hphrWXX1QxgDqQINFsbpCF64Uk.jpg\",\"width\":640,\"height\":960,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}},\"visibility\":\"public\"},{\"id\":\"51b8bcff498ecd5bbdaf7608\",\"createdAt\":1371061503,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/150695_o4KY9mHmhsuZAg9XB3dUq3Tpkwgwts9YFVwVnhfNQ3w.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"150695\",\"firstName\":\"S Brent\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/T0TUPCSMEC0VPEGC.jpg\"}},\"visibility\":\"public\"},{\"id\":\"50d0f198e4b0bb4715475c3d\",\"createdAt\":1355870616,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/64093_enEtmOqcaL5daGushQNdL_tbXdmiBDr0lkHJxy1u37E.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"50b8e4d4e4b0e015e448565c\",\"createdAt\":1354294484,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/789540_tozWpLC2vq7xguO7SDgkhN1_SFHMOwl_NAwgGCubpKg.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"789540\",\"firstName\":\"kaitlin\",\"lastName\":\"h.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/U2B4LV4GVD5HINIA.jpg\"}},\"visibility\":\"public\"},{\"id\":\"502d1fd2e4b0d68f36a3b8eb\",\"createdAt\":1345134546,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/nHeGnvHA6f6XSCGN9BBc11n8wNKeoMujR69sCeWRcdE.jpg\",\"width\":720,\"height\":540,\"user\":{\"id\":\"23756022\",\"firstName\":\"Stephan\",\"lastName\":\"G.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ILC43H2JIUO2RUVY.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d7884e4b08101160bdec8\",\"createdAt\":1334671492,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/nwesuQsT8PtThRaAbPjBhhEISigJfi86-79utbdqSww.jpg\",\"width\":720,\"height\":537,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"}],\"dupesRemoved\":0}}}"
|
301
|
+
http_version:
|
302
|
+
recorded_at: Fri, 14 Jun 2013 19:10:56 GMT
|
303
|
+
- request:
|
304
|
+
method: get
|
305
|
+
uri: https://api.foursquare.com/v2/venues/venue_id?oauth_token=oauth_token&v=20130614
|
306
|
+
body:
|
307
|
+
encoding: US-ASCII
|
308
|
+
string: ""
|
309
|
+
headers: {}
|
310
|
+
|
311
|
+
response:
|
312
|
+
status:
|
313
|
+
code: 200
|
314
|
+
message: OK
|
315
|
+
headers:
|
316
|
+
Date:
|
317
|
+
- Fri, 14 Jun 2013 19:12:16 GMT
|
318
|
+
Server:
|
319
|
+
- ngx_openresty/1.2.3.8
|
320
|
+
Content-Type:
|
321
|
+
- application/json; charset=utf-8
|
322
|
+
Access-Control-Allow-Origin:
|
323
|
+
- "*"
|
324
|
+
Tracer-Time:
|
325
|
+
- "92"
|
326
|
+
X-Ratelimit-Limit:
|
327
|
+
- "500"
|
328
|
+
X-Ratelimit-Remaining:
|
329
|
+
- "487"
|
330
|
+
Strict-Transport-Security:
|
331
|
+
- max-age=864000
|
332
|
+
X-Ex:
|
333
|
+
- fastly_cdn
|
334
|
+
Content-Length:
|
335
|
+
- "7418"
|
336
|
+
Accept-Ranges:
|
337
|
+
- bytes
|
338
|
+
Via:
|
339
|
+
- 1.1 varnish
|
340
|
+
Age:
|
341
|
+
- "0"
|
342
|
+
X-Served-By:
|
343
|
+
- cache-v41-ASH
|
344
|
+
X-Cache:
|
345
|
+
- MISS
|
346
|
+
X-Cache-Hits:
|
347
|
+
- "0"
|
348
|
+
body:
|
349
|
+
encoding: US-ASCII
|
350
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"venue\":{\"id\":\"venue_id\",\"name\":\"Mosaic Sales Solutions\",\"contact\":{\"twitter\":\"mosaicna\"},\"location\":{\"address\":\"100 Liberty St.\",\"lat\":43.63792664630825,\"lng\":-79.42476481873426,\"radius50\":16,\"radius90\":300,\"postalCode\":\"M6K 3L7\",\"city\":\"Toronto\",\"state\":\"ON\",\"country\":\"Canada\",\"cc\":\"CA\"},\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/v\\/mosaic-sales-solutions\\/venue_id\",\"categories\":[{\"id\":\"4bf58dd8d48988d124941735\",\"name\":\"Office\",\"pluralName\":\"Offices\",\"shortName\":\"Corporate \\/ Office\",\"icon\":{\"prefix\":\"https:\\/\\/foursquare.com\\/img\\/categories_v2\\/building\\/default_\",\"suffix\":\".png\"},\"primary\":true}],\"verified\":true,\"stats\":{\"checkinsCount\":468,\"usersCount\":58,\"tipCount\":0},\"url\":\"http:\\/\\/www.mosaic.com\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[{\"id\":\"6825177\",\"firstName\":\"Alison\",\"lastName\":\"T.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/DW3PI2TBC5CB4WW3.jpg\"}}]}],\"summary\":\"Alison T\"},\"like\":false,\"dislike\":false,\"friendVisits\":{\"count\":1,\"summary\":\"You've been here\",\"items\":[{\"visitedCount\":7,\"liked\":false,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}}}]},\"beenHere\":{\"count\":7,\"marked\":true},\"specials\":{\"count\":0,\"items\":[]},\"photos\":{\"count\":16,\"groups\":[{\"type\":\"venue\",\"name\":\"Venue photos\",\"count\":16,\"items\":[{\"id\":\"50a66c82498e38a3121ca08e\",\"createdAt\":1353084034,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/photopath.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51ba060f498e4a6d22f8e9fc\",\"createdAt\":1371145743,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/150695_9k-4vbHIvBcCDsbZczQMlqAOahoyhte0ruBtOcHOCXw.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"150695\",\"firstName\":\"S Brent\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/T0TUPCSMEC0VPEGC.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f99c02de4b0904b0183a425\",\"createdAt\":1335476269,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/_tPARpvT0kAY7X4kLq3ck7kgGaqlsVEfD6JMDJjqo1g.jpg\",\"width\":537,\"height\":720,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f31784de4b010a3c037996e\",\"createdAt\":1328642125,\"source\":{\"name\":\"foursquare for BlackBerry\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/blackberry\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/dJqEpqYg-HhRQRt3byz-Ci8rbEaltjBXsLZC2yhZ9Ko.jpg\",\"width\":346,\"height\":461,\"user\":{\"id\":\"7090923\",\"firstName\":\"Ashleigh\",\"lastName\":\"M.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/LMTAKTQOTOBIHY2J.jpg\"}},\"visibility\":\"public\"},{\"id\":\"511d0dd2e4b0962fa8dec2da\",\"createdAt\":1360858578,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/64093_6KYfbFthAGGXNdUpJYE9bR2tquxYAWVQVLKNAlXJ4TY.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51534173e4b0276ef48e91de\",\"createdAt\":1364410739,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/1383760_LZnXDGadsoZbTarHJPOk_v6MFMeIkBrn86V_LXMS7Sw.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"}]}]},\"hereNow\":{\"count\":1,\"summary\":\"You are here\",\"groups\":[{\"type\":\"friends\",\"name\":\"Friends here\",\"count\":1,\"items\":[{\"id\":\"51bb6224498e807919ff3678\",\"createdAt\":1371234852,\"type\":\"checkin\",\"timeZoneOffset\":-240,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}}}]}]},\"venuePage\":{\"id\":\"58526926\"},\"reasons\":{\"count\":1,\"items\":[{\"summary\":\"You're here! +1 point\",\"type\":\"general\",\"reasonName\":\"hereNowReason\",\"target\":{\"type\":\"navigation\",\"object\":{\"id\":\"51bb6b10498e474d9e6c6858\",\"type\":\"checkinDetail\",\"target\":{\"type\":\"path\",\"url\":\"\\/checkins\\/51bb6224498e807919ff3678\"},\"ignorable\":false}}}]},\"description\":\"Toronto Hub\",\"createdAt\":1327937015,\"mayor\":{\"count\":10,\"user\":{\"id\":\"1098436\",\"firstName\":\"Julie\",\"lastName\":\"S.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/photid.jpg\"}}},\"tips\":{\"count\":0,\"groups\":[]},\"tags\":[],\"shortUrl\":\"http:\\/\\/4sq.com\\/zFqVtz\",\"timeZone\":\"America\\/Toronto\",\"listed\":{\"count\":0,\"groups\":[]},\"roles\":[\"manager\"],\"page\":{\"user\":{\"id\":\"58526926\",\"firstName\":\"Mosaic Sales Solutions\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IOZFSQWJEE3ZU5C1.png\"},\"type\":\"venuePage\",\"venue\":{\"id\":\"venue_id\"},\"tips\":{\"count\":0},\"homeCity\":\"Toronto, ON\",\"bio\":\"\",\"contact\":{}}},\"popular\":{\"status\":\"None listed\",\"isOpen\":false,\"timeframes\":[{\"days\":\"Today\",\"includesToday\":true,\"open\":[{\"renderedTime\":\"6:00 AM\\u20132:00 PM\"}],\"segments\":[]},{\"days\":\"Sat\\u2013Sun\",\"open\":[{\"renderedTime\":\"None\"}],\"segments\":[]},{\"days\":\"Mon\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20131:00 PM\"}],\"segments\":[]},{\"days\":\"Tue\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20135:00 PM\"}],\"segments\":[]},{\"days\":\"Wed\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20134:00 PM\"}],\"segments\":[]},{\"days\":\"Thu\",\"open\":[{\"renderedTime\":\"6:00 AM\\u20135:00 PM\"}],\"segments\":[]}]},\"pageUpdates\":{\"count\":1,\"items\":[{\"id\":\"51ba2db4498eebae7ad9dcf1\",\"createdAt\":1371155892,\"page\":{\"id\":\"58526926\",\"firstName\":\"Mosaic Sales Solutions\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IOZFSQWJEE3ZU5C1.png\"},\"type\":\"venuePage\",\"venue\":{\"id\":\"venue_id\"},\"tips\":{\"count\":0},\"homeCity\":\"Toronto, ON\",\"bio\":\"\",\"contact\":{}},\"shout\":\"Welcome to Test Venue\",\"entities\":[],\"photos\":{\"count\":1,\"items\":[{\"id\":\"51ba2db4498e955a3a98c977\",\"createdAt\":1371155892,\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/58526926_8juZxNlpCOOIM5nM4Iad6LfMBNj2SXjt3Lc4TV6ThrQ.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"58526926\",\"firstName\":\"Mosaic Sales Solutions\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IOZFSQWJEE3ZU5C1.png\"},\"type\":\"venuePage\",\"venue\":{\"id\":\"venue_id\"}},\"visibility\":\"public\"}]},\"logView\":true,\"likes\":{\"count\":0,\"groups\":[]},\"like\":false}]},\"storeId\":\"\"}}}"
|
351
|
+
http_version:
|
352
|
+
recorded_at: Fri, 14 Jun 2013 19:12:13 GMT
|
353
|
+
- request:
|
354
|
+
method: get
|
355
|
+
uri: https://api.foursquare.com/v2/venues/venue_id/herenow?oauth_token=oauth_token&v=20130614
|
356
|
+
body:
|
357
|
+
encoding: US-ASCII
|
358
|
+
string: ""
|
359
|
+
headers: {}
|
360
|
+
|
361
|
+
response:
|
362
|
+
status:
|
363
|
+
code: 200
|
364
|
+
message: OK
|
365
|
+
headers:
|
366
|
+
Date:
|
367
|
+
- Fri, 14 Jun 2013 19:12:16 GMT
|
368
|
+
Server:
|
369
|
+
- ngx_openresty/1.2.3.8
|
370
|
+
Content-Type:
|
371
|
+
- application/json; charset=utf-8
|
372
|
+
Access-Control-Allow-Origin:
|
373
|
+
- "*"
|
374
|
+
Tracer-Time:
|
375
|
+
- "27"
|
376
|
+
X-Ratelimit-Limit:
|
377
|
+
- "0"
|
378
|
+
X-Ratelimit-Remaining:
|
379
|
+
- "0"
|
380
|
+
Strict-Transport-Security:
|
381
|
+
- max-age=864000
|
382
|
+
X-Ex:
|
383
|
+
- fastly_cdn
|
384
|
+
Content-Length:
|
385
|
+
- "464"
|
386
|
+
Accept-Ranges:
|
387
|
+
- bytes
|
388
|
+
Via:
|
389
|
+
- 1.1 varnish
|
390
|
+
Age:
|
391
|
+
- "0"
|
392
|
+
X-Served-By:
|
393
|
+
- cache-v37-ASH
|
394
|
+
X-Cache:
|
395
|
+
- MISS
|
396
|
+
X-Cache-Hits:
|
397
|
+
- "0"
|
398
|
+
body:
|
399
|
+
encoding: US-ASCII
|
400
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"hereNow\":{\"count\":1,\"items\":[{\"id\":\"51bb6224498e807919ff3678\",\"createdAt\":1371234852,\"type\":\"checkin\",\"timeZoneOffset\":-240,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}},\"likes\":{\"count\":0,\"groups\":[]},\"like\":false}]}}}"
|
401
|
+
http_version:
|
402
|
+
recorded_at: Fri, 14 Jun 2013 19:12:13 GMT
|
403
|
+
- request:
|
404
|
+
method: get
|
405
|
+
uri: https://api.foursquare.com/v2/venues/venue_id/photos?oauth_token=oauth_token&v=20130614
|
406
|
+
body:
|
407
|
+
encoding: US-ASCII
|
408
|
+
string: ""
|
409
|
+
headers: {}
|
410
|
+
|
411
|
+
response:
|
412
|
+
status:
|
413
|
+
code: 200
|
414
|
+
message: OK
|
415
|
+
headers:
|
416
|
+
Date:
|
417
|
+
- Fri, 14 Jun 2013 19:12:16 GMT
|
418
|
+
Server:
|
419
|
+
- ngx_openresty/1.2.3.8
|
420
|
+
Content-Type:
|
421
|
+
- application/json; charset=utf-8
|
422
|
+
Access-Control-Allow-Origin:
|
423
|
+
- "*"
|
424
|
+
Tracer-Time:
|
425
|
+
- "41"
|
426
|
+
X-Ratelimit-Limit:
|
427
|
+
- "500"
|
428
|
+
X-Ratelimit-Remaining:
|
429
|
+
- "485"
|
430
|
+
Strict-Transport-Security:
|
431
|
+
- max-age=864000
|
432
|
+
X-Ex:
|
433
|
+
- fastly_cdn
|
434
|
+
Content-Length:
|
435
|
+
- "7799"
|
436
|
+
Accept-Ranges:
|
437
|
+
- bytes
|
438
|
+
Via:
|
439
|
+
- 1.1 varnish
|
440
|
+
Age:
|
441
|
+
- "0"
|
442
|
+
X-Served-By:
|
443
|
+
- cache-v42-ASH
|
444
|
+
X-Cache:
|
445
|
+
- MISS
|
446
|
+
X-Cache-Hits:
|
447
|
+
- "0"
|
448
|
+
body:
|
449
|
+
encoding: US-ASCII
|
450
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"photos\":{\"count\":16,\"items\":[{\"id\":\"50a66c82498e38a3121ca08e\",\"createdAt\":1353084034,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/photopath.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51ba060f498e4a6d22f8e9fc\",\"createdAt\":1371145743,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/150695_9k-4vbHIvBcCDsbZczQMlqAOahoyhte0ruBtOcHOCXw.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"150695\",\"firstName\":\"S Brent\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/T0TUPCSMEC0VPEGC.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f99c02de4b0904b0183a425\",\"createdAt\":1335476269,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/_tPARpvT0kAY7X4kLq3ck7kgGaqlsVEfD6JMDJjqo1g.jpg\",\"width\":537,\"height\":720,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f31784de4b010a3c037996e\",\"createdAt\":1328642125,\"source\":{\"name\":\"foursquare for BlackBerry\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/blackberry\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/dJqEpqYg-HhRQRt3byz-Ci8rbEaltjBXsLZC2yhZ9Ko.jpg\",\"width\":346,\"height\":461,\"user\":{\"id\":\"7090923\",\"firstName\":\"Ashleigh\",\"lastName\":\"M.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/LMTAKTQOTOBIHY2J.jpg\"}},\"visibility\":\"public\"},{\"id\":\"511d0dd2e4b0962fa8dec2da\",\"createdAt\":1360858578,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/64093_6KYfbFthAGGXNdUpJYE9bR2tquxYAWVQVLKNAlXJ4TY.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51534173e4b0276ef48e91de\",\"createdAt\":1364410739,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/1383760_LZnXDGadsoZbTarHJPOk_v6MFMeIkBrn86V_LXMS7Sw.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"1383760\",\"firstName\":\"Khaleed\",\"lastName\":\"J.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZP0WXOZNXQWBGM5I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d793be4b013d9a539ddaf\",\"createdAt\":1334671675,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/pYOnQb98XkxjSYPZ4MiWmJSLm2_T9apFg93qTQJqvRw.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d7902e4b09ac7a7f5ab64\",\"createdAt\":1334671618,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/F2utuUfo9yPKuszWd75Ey2eOxrwHsbwsKb7W4Xmbf-w.jpg\",\"width\":720,\"height\":537,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d78d6e4b08f9379a72fca\",\"createdAt\":1334671574,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/UR-S62SzK6Pxck4hBHuOs2T3-h5cBaLW_hzKgKDajJs.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d78abe4b02244912c1960\",\"createdAt\":1334671531,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/NaexIu_c7uhrFFOslRk-c9Ruq-BqCsKJCFwSZQjGhhw.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"51ba0579498e4bda57e1f154\",\"createdAt\":1371145593,\"source\":{\"name\":\"foursquare for Android\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/android\"},\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/47216706_gQUCcv8CawVcf3nR_hphrWXX1QxgDqQINFsbpCF64Uk.jpg\",\"width\":640,\"height\":960,\"user\":{\"id\":\"47216706\",\"firstName\":\"Joe\",\"lastName\":\"Mosaic\",\"gender\":\"male\",\"relationship\":\"self\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/blank_boy.png\"}},\"visibility\":\"public\"},{\"id\":\"51b8bcff498ecd5bbdaf7608\",\"createdAt\":1371061503,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/150695_o4KY9mHmhsuZAg9XB3dUq3Tpkwgwts9YFVwVnhfNQ3w.jpg\",\"width\":717,\"height\":959,\"user\":{\"id\":\"150695\",\"firstName\":\"S Brent\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/T0TUPCSMEC0VPEGC.jpg\"}},\"visibility\":\"public\"},{\"id\":\"50d0f198e4b0bb4715475c3d\",\"createdAt\":1355870616,\"source\":{\"name\":\"Instagram\",\"url\":\"http:\\/\\/instagram.com\"},\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/64093_enEtmOqcaL5daGushQNdL_tbXdmiBDr0lkHJxy1u37E.jpg\",\"width\":612,\"height\":612,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"},{\"id\":\"50b8e4d4e4b0e015e448565c\",\"createdAt\":1354294484,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/789540_tozWpLC2vq7xguO7SDgkhN1_SFHMOwl_NAwgGCubpKg.jpg\",\"width\":540,\"height\":540,\"user\":{\"id\":\"789540\",\"firstName\":\"kaitlin\",\"lastName\":\"h.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/U2B4LV4GVD5HINIA.jpg\"}},\"visibility\":\"public\"},{\"id\":\"502d1fd2e4b0d68f36a3b8eb\",\"createdAt\":1345134546,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/nHeGnvHA6f6XSCGN9BBc11n8wNKeoMujR69sCeWRcdE.jpg\",\"width\":720,\"height\":540,\"user\":{\"id\":\"23756022\",\"firstName\":\"Stephan\",\"lastName\":\"G.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ILC43H2JIUO2RUVY.jpg\"}},\"visibility\":\"public\"},{\"id\":\"4f8d7884e4b08101160bdec8\",\"createdAt\":1334671492,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/nwesuQsT8PtThRaAbPjBhhEISigJfi86-79utbdqSww.jpg\",\"width\":720,\"height\":537,\"user\":{\"id\":\"64093\",\"firstName\":\"Michael\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1JRGLQIPQ2AORO2I.jpg\"}},\"visibility\":\"public\"}],\"dupesRemoved\":0}}}"
|
451
|
+
http_version:
|
452
|
+
recorded_at: Fri, 14 Jun 2013 19:12:14 GMT
|
453
|
+
- request:
|
454
|
+
method: get
|
455
|
+
uri: https://api.foursquare.com/v2/tips/tip_id?oauth_token=oauth_token&v=20130614
|
456
|
+
body:
|
457
|
+
encoding: US-ASCII
|
458
|
+
string: ""
|
459
|
+
headers: {}
|
460
|
+
|
461
|
+
response:
|
462
|
+
status:
|
463
|
+
code: 200
|
464
|
+
message: OK
|
465
|
+
headers:
|
466
|
+
Date:
|
467
|
+
- Mon, 17 Jun 2013 13:55:37 GMT
|
468
|
+
Server:
|
469
|
+
- ngx_openresty/1.2.3.8
|
470
|
+
Content-Type:
|
471
|
+
- application/json; charset=utf-8
|
472
|
+
Access-Control-Allow-Origin:
|
473
|
+
- "*"
|
474
|
+
Tracer-Time:
|
475
|
+
- "76"
|
476
|
+
X-Ratelimit-Limit:
|
477
|
+
- "0"
|
478
|
+
X-Ratelimit-Remaining:
|
479
|
+
- "0"
|
480
|
+
Strict-Transport-Security:
|
481
|
+
- max-age=864000
|
482
|
+
X-Ex:
|
483
|
+
- fastly_cdn
|
484
|
+
Content-Length:
|
485
|
+
- "4223"
|
486
|
+
Accept-Ranges:
|
487
|
+
- bytes
|
488
|
+
Via:
|
489
|
+
- 1.1 varnish
|
490
|
+
Age:
|
491
|
+
- "0"
|
492
|
+
X-Served-By:
|
493
|
+
- cache-v42-ASH
|
494
|
+
X-Cache:
|
495
|
+
- MISS
|
496
|
+
X-Cache-Hits:
|
497
|
+
- "0"
|
498
|
+
body:
|
499
|
+
encoding: US-ASCII
|
500
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"tip\":{\"id\":\"tip_id\",\"createdAt\":1264477738,\"text\":\"Get two slices and a can of soda for only $2.75!\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/tip_id\",\"likes\":{\"count\":10,\"groups\":[{\"type\":\"others\",\"count\":10,\"items\":[]}],\"summary\":\"10 likes\"},\"like\":false,\"venue\":{\"id\":\"4a89cd2ff964a520100920e3\",\"name\":\"2 Bros. Pizza\",\"contact\":{\"phone\":\"2127770600\",\"formattedPhone\":\"(212) 777-0600\"},\"location\":{\"address\":\"32 Saint Marks Pl\",\"crossStreet\":\"btwn 2nd & 3rd Ave.\",\"lat\":40.72890363685293,\"lng\":-73.98815374890951,\"postalCode\":\"10003\",\"city\":\"New York\",\"state\":\"NY\",\"country\":\"United States\",\"cc\":\"US\"},\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/v\\/2-bros-pizza\\/4a89cd2ff964a520100920e3\",\"categories\":[{\"id\":\"4bf58dd8d48988d1ca941735\",\"name\":\"Pizza Place\",\"pluralName\":\"Pizza Places\",\"shortName\":\"Pizza\",\"icon\":{\"prefix\":\"https:\\/\\/foursquare.com\\/img\\/categories_v2\\/food\\/pizza_\",\"suffix\":\".png\"},\"primary\":true}],\"verified\":false,\"stats\":{\"checkinsCount\":6633,\"usersCount\":3637,\"tipCount\":54},\"likes\":{\"count\":9,\"groups\":[{\"type\":\"others\",\"count\":9,\"items\":[{\"id\":\"70689\",\"firstName\":\"Eliah\",\"lastName\":\"H.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/AQ1LZZL0HC3QIAZZ.jpg\"}},{\"id\":\"12687457\",\"firstName\":\"Esha\",\"lastName\":\"R.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/PUCJNWWVGZV5EBRM.jpg\"}},{\"id\":\"13426105\",\"firstName\":\"Oscar\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1H4E1JG0ZM3ZYPV2.jpg\"}},{\"id\":\"45975750\",\"firstName\":\"Rosemary\",\"lastName\":\"M.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/4GZQMFVKJ24SFBHX.jpg\"}}]}],\"summary\":\"Eliah Hecht, Esha Rao, Oscar Martinez & 6 others\"},\"like\":false,\"menu\":{\"type\":\"Menu\",\"label\":\"Menu\",\"anchor\":\"See menu\",\"url\":\"https:\\/\\/foursquare.com\\/v\\/2-bros-pizza\\/4a89cd2ff964a520100920e3\\/menu\",\"mobileUrl\":\"https:\\/\\/foursquare.com\\/v\\/4a89cd2ff964a520100920e3\\/device_menu\"}},\"user\":{\"id\":\"38141\",\"firstName\":\"Andrew\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/YLUQ0JS4DSOKP2P2.jpg\"}},\"todo\":{\"count\":0,\"groups\":[{\"type\":\"friends\",\"name\":\"Friends who want to do this\",\"count\":0,\"items\":[]},{\"type\":\"others\",\"name\":\"Others who want to do this\",\"count\":0,\"items\":[]}]},\"listed\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"name\":\"Lists from other people\",\"count\":1,\"items\":[{\"id\":\"4e6ecbc31838a9b627623342\",\"name\":\"\\\"4th Meal\\\" Favs\",\"description\":\"We've all been there\\u2014walking home past 3 a.m. with blurry vision and grumbling stomachs. But with a limited number of Taco Bells in the city, we must look to our late-night alternatives...\",\"type\":\"others\",\"user\":{\"id\":\"8892535\",\"firstName\":\"Tamara\",\"lastName\":\"H.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IJZQRDARLONY40OS.jpg\"}},\"editable\":false,\"public\":true,\"collaborative\":false,\"url\":\"https:\\/\\/foursquare.com\\/tamara\\/list\\/4th-meal-favs\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/tamara\\/list\\/4th-meal-favs\",\"createdAt\":1315883971,\"updatedAt\":1315884926,\"photo\":{\"id\":\"4e4d8eb2d4c019a18a3d30f0\",\"createdAt\":1313705650,\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/UXGVCZ11NTVN5HG1V2PMG1GHWCXEZ5C1H0B341WK25JMBGTY.jpg\",\"width\":720,\"height\":432,\"user\":{\"id\":\"174927\",\"firstName\":\"Mark\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZCJYU0KSCKSFYVAO.jpg\"}},\"visibility\":\"public\"},\"followers\":{\"count\":4},\"listItems\":{\"count\":6,\"items\":[{\"id\":\"ttip_id\",\"createdAt\":1315883971,\"photo\":{\"id\":\"4e4d8eb2d4c019a18a3d30f0\",\"createdAt\":1313705650,\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/UXGVCZ11NTVN5HG1V2PMG1GHWCXEZ5C1H0B341WK25JMBGTY.jpg\",\"width\":720,\"height\":432,\"user\":{\"id\":\"174927\",\"firstName\":\"Mark\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZCJYU0KSCKSFYVAO.jpg\"}},\"visibility\":\"public\"}}]}}]}]},\"saves\":{\"count\":1,\"summary\":\"1 save - Tamara H\",\"items\":[]}}}}"
|
501
|
+
http_version:
|
502
|
+
recorded_at: Mon, 17 Jun 2013 13:55:44 GMT
|
503
|
+
- request:
|
504
|
+
method: get
|
505
|
+
uri: https://api.foursquare.com/v2/tips/4b5e662a70c603bba7d790b4?oauth_token=oauth_token&v=20130614
|
506
|
+
body:
|
507
|
+
encoding: US-ASCII
|
508
|
+
string: ""
|
509
|
+
headers: {}
|
510
|
+
|
511
|
+
response:
|
512
|
+
status:
|
513
|
+
code: 200
|
514
|
+
message: OK
|
515
|
+
headers:
|
516
|
+
Access-Control-Allow-Origin:
|
517
|
+
- "*"
|
518
|
+
Content-Type:
|
519
|
+
- application/json; charset=utf-8
|
520
|
+
Date:
|
521
|
+
- Mon, 17 Jun 2013 14:13:57 GMT
|
522
|
+
Server:
|
523
|
+
- nginx/1.2.1
|
524
|
+
Strict-Transport-Security:
|
525
|
+
- max-age=864000
|
526
|
+
Tracer-Time:
|
527
|
+
- "71"
|
528
|
+
X-Ratelimit-Limit:
|
529
|
+
- "500"
|
530
|
+
X-Ratelimit-Remaining:
|
531
|
+
- "492"
|
532
|
+
Content-Length:
|
533
|
+
- "4223"
|
534
|
+
Connection:
|
535
|
+
- keep-alive
|
536
|
+
body:
|
537
|
+
encoding: US-ASCII
|
538
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"tip\":{\"id\":\"4b5e662a70c603bba7d790b4\",\"createdAt\":1264477738,\"text\":\"Get two slices and a can of soda for only $2.75!\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4b5e662a70c603bba7d790b4\",\"likes\":{\"count\":10,\"groups\":[{\"type\":\"others\",\"count\":10,\"items\":[]}],\"summary\":\"10 likes\"},\"like\":false,\"venue\":{\"id\":\"4a89cd2ff964a520100920e3\",\"name\":\"2 Bros. Pizza\",\"contact\":{\"phone\":\"2127770600\",\"formattedPhone\":\"(212) 777-0600\"},\"location\":{\"address\":\"32 Saint Marks Pl\",\"crossStreet\":\"btwn 2nd & 3rd Ave.\",\"lat\":40.72890363685293,\"lng\":-73.98815374890951,\"postalCode\":\"10003\",\"city\":\"New York\",\"state\":\"NY\",\"country\":\"United States\",\"cc\":\"US\"},\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/v\\/2-bros-pizza\\/4a89cd2ff964a520100920e3\",\"categories\":[{\"id\":\"4bf58dd8d48988d1ca941735\",\"name\":\"Pizza Place\",\"pluralName\":\"Pizza Places\",\"shortName\":\"Pizza\",\"icon\":{\"prefix\":\"https:\\/\\/foursquare.com\\/img\\/categories_v2\\/food\\/pizza_\",\"suffix\":\".png\"},\"primary\":true}],\"verified\":false,\"stats\":{\"checkinsCount\":6633,\"usersCount\":3637,\"tipCount\":54},\"likes\":{\"count\":9,\"groups\":[{\"type\":\"others\",\"count\":9,\"items\":[{\"id\":\"70689\",\"firstName\":\"Eliah\",\"lastName\":\"H.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/AQ1LZZL0HC3QIAZZ.jpg\"}},{\"id\":\"12687457\",\"firstName\":\"Esha\",\"lastName\":\"R.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/PUCJNWWVGZV5EBRM.jpg\"}},{\"id\":\"13426105\",\"firstName\":\"Oscar\",\"lastName\":\"M.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/1H4E1JG0ZM3ZYPV2.jpg\"}},{\"id\":\"45975750\",\"firstName\":\"Rosemary\",\"lastName\":\"M.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/4GZQMFVKJ24SFBHX.jpg\"}}]}],\"summary\":\"Eliah Hecht, Esha Rao, Oscar Martinez & 6 others\"},\"like\":false,\"menu\":{\"type\":\"Menu\",\"label\":\"Menu\",\"anchor\":\"See menu\",\"url\":\"https:\\/\\/foursquare.com\\/v\\/2-bros-pizza\\/4a89cd2ff964a520100920e3\\/menu\",\"mobileUrl\":\"https:\\/\\/foursquare.com\\/v\\/4a89cd2ff964a520100920e3\\/device_menu\"}},\"user\":{\"id\":\"38141\",\"firstName\":\"Andrew\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/YLUQ0JS4DSOKP2P2.jpg\"}},\"todo\":{\"count\":0,\"groups\":[{\"type\":\"friends\",\"name\":\"Friends who want to do this\",\"count\":0,\"items\":[]},{\"type\":\"others\",\"name\":\"Others who want to do this\",\"count\":0,\"items\":[]}]},\"listed\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"name\":\"Lists from other people\",\"count\":1,\"items\":[{\"id\":\"4e6ecbc31838a9b627623342\",\"name\":\"\\\"4th Meal\\\" Favs\",\"description\":\"We've all been there\\u2014walking home past 3 a.m. with blurry vision and grumbling stomachs. But with a limited number of Taco Bells in the city, we must look to our late-night alternatives...\",\"type\":\"others\",\"user\":{\"id\":\"8892535\",\"firstName\":\"Tamara\",\"lastName\":\"H.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/IJZQRDARLONY40OS.jpg\"}},\"editable\":false,\"public\":true,\"collaborative\":false,\"url\":\"https:\\/\\/foursquare.com\\/tamara\\/list\\/4th-meal-favs\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/tamara\\/list\\/4th-meal-favs\",\"createdAt\":1315883971,\"updatedAt\":1315884926,\"photo\":{\"id\":\"4e4d8eb2d4c019a18a3d30f0\",\"createdAt\":1313705650,\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/UXGVCZ11NTVN5HG1V2PMG1GHWCXEZ5C1H0B341WK25JMBGTY.jpg\",\"width\":720,\"height\":432,\"user\":{\"id\":\"174927\",\"firstName\":\"Mark\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZCJYU0KSCKSFYVAO.jpg\"}},\"visibility\":\"public\"},\"followers\":{\"count\":4},\"listItems\":{\"count\":6,\"items\":[{\"id\":\"t4b5e662a70c603bba7d790b4\",\"createdAt\":1315883971,\"photo\":{\"id\":\"4e4d8eb2d4c019a18a3d30f0\",\"createdAt\":1313705650,\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/UXGVCZ11NTVN5HG1V2PMG1GHWCXEZ5C1H0B341WK25JMBGTY.jpg\",\"width\":720,\"height\":432,\"user\":{\"id\":\"174927\",\"firstName\":\"Mark\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ZCJYU0KSCKSFYVAO.jpg\"}},\"visibility\":\"public\"}}]}}]}]},\"saves\":{\"count\":1,\"summary\":\"1 save - Tamara H\",\"items\":[]}}}}"
|
539
|
+
http_version:
|
540
|
+
recorded_at: Mon, 17 Jun 2013 14:14:04 GMT
|
541
|
+
- request:
|
542
|
+
method: get
|
543
|
+
uri: https://api.foursquare.com/v2/venues/venue_id/tips?oauth_token=oauth_token&v=20130614
|
544
|
+
body:
|
545
|
+
encoding: US-ASCII
|
546
|
+
string: ""
|
547
|
+
headers: {}
|
548
|
+
|
549
|
+
response:
|
550
|
+
status:
|
551
|
+
code: 200
|
552
|
+
message: OK
|
553
|
+
headers:
|
554
|
+
Access-Control-Allow-Origin:
|
555
|
+
- "*"
|
556
|
+
Content-Type:
|
557
|
+
- application/json; charset=utf-8
|
558
|
+
Date:
|
559
|
+
- Mon, 17 Jun 2013 14:13:57 GMT
|
560
|
+
Server:
|
561
|
+
- nginx/1.2.1
|
562
|
+
Strict-Transport-Security:
|
563
|
+
- max-age=864000
|
564
|
+
Tracer-Time:
|
565
|
+
- "77"
|
566
|
+
X-Ratelimit-Limit:
|
567
|
+
- "0"
|
568
|
+
X-Ratelimit-Remaining:
|
569
|
+
- "0"
|
570
|
+
Content-Length:
|
571
|
+
- "16970"
|
572
|
+
Connection:
|
573
|
+
- keep-alive
|
574
|
+
body:
|
575
|
+
encoding: ASCII-8BIT
|
576
|
+
string: "{\"meta\":{\"code\":200},\"notifications\":[{\"type\":\"notificationTray\",\"item\":{\"unreadCount\":0}}],\"response\":{\"tips\":{\"count\":54,\"items\":[{\"id\":\"4d0594987ee8a0903e3df254\",\"createdAt\":1292211352,\"text\":\"Steamy, fresh slices for $1 = one of the best pizza deals in the city. For an even greater bargain, grab 2 slices and a soda for $2.75.\",\"url\":\"http:\\/\\/www.cheapism.com\\/p\\/cheap-new-york.mhtml\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4d0594987ee8a0903e3df254\",\"likes\":{\"count\":53,\"groups\":[{\"type\":\"others\",\"count\":53,\"items\":[]}],\"summary\":\"53 likes\"},\"like\":false,\"logView\":true,\"todo\":{\"count\":24},\"user\":{\"id\":\"4995109\",\"firstName\":\"Cheapism\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/UVKUMW0USJDPXK0N.png\"},\"type\":\"page\"}},{\"id\":\"4b5e662a70c603bba7d790b4\",\"createdAt\":1264477738,\"text\":\"Get two slices and a can of soda for only $2.75!\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4b5e662a70c603bba7d790b4\",\"likes\":{\"count\":10,\"groups\":[{\"type\":\"others\",\"count\":10,\"items\":[]}],\"summary\":\"10 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"38141\",\"firstName\":\"Andrew\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/YLUQ0JS4DSOKP2P2.jpg\"}}},{\"id\":\"4c487d9f19fde21e89c20b76\",\"createdAt\":1279819167,\"text\":\"The pizza is actually quite good, a proper NY slice.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4c487d9f19fde21e89c20b76\",\"likes\":{\"count\":8,\"groups\":[{\"type\":\"others\",\"count\":8,\"items\":[{\"id\":\"646\",\"firstName\":\"Jorge\",\"lastName\":\"O.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/4a5e36cdcc36b.jpg\"},\"type\":\"celebrity\"}]}],\"summary\":\"8 likes\"},\"like\":false,\"todo\":{\"count\":1},\"user\":{\"id\":\"353461\",\"firstName\":\"Mark\",\"lastName\":\"W.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/C1GFQDWHXK4ZMMH2.jpg\"},\"type\":\"celebrity\"}},{\"id\":\"4b3a36e870c603bb35a58fb4\",\"createdAt\":1262106344,\"text\":\"Dollar slice pizza with soft crust. Mmm\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4b3a36e870c603bb35a58fb4\",\"likes\":{\"count\":7,\"groups\":[{\"type\":\"others\",\"count\":7,\"items\":[]}],\"summary\":\"7 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"178962\",\"firstName\":\"Andrew\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/EETTXOBV5N00XTIM.jpg\"}}},{\"id\":\"4d8102718d562d437b290875\",\"createdAt\":1300300401,\"text\":\"For $1 you pretty much get what you pay for. But it\\u2019s better than most of its competitors.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4d8102718d562d437b290875\",\"likes\":{\"count\":4,\"groups\":[{\"type\":\"others\",\"count\":4,\"items\":[]}],\"summary\":\"4 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"3112415\",\"firstName\":\"PizzaSnobo\",\"lastName\":\"p.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/CUJAIPU2CB3MHCP4.jpg\"}}},{\"id\":\"4d581f58380ab1f7815204f5\",\"createdAt\":1297620824,\"text\":\"Holla at ya dolla slice.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4d581f58380ab1f7815204f5\",\"photo\":{\"id\":\"4d581f7da33828fd42b78fb2\",\"createdAt\":1297620861,\"source\":{\"name\":\"foursquare for iPhone\",\"url\":\"https:\\/\\/foursquare.com\\/download\\/#\\/iphone\"},\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/5WGDURV20YYDA4WNKLUBBLO0Y2SXBQL2Q3J4VNKHDM2DXURW.jpg\",\"width\":540,\"height\":720},\"photourl\":\"https:\\/\\/irs1.4sqi.net\\/img\\/general\\/original\\/5WGDURV20YYDA4WNKLUBBLO0Y2SXBQL2Q3J4VNKHDM2DXURW.jpg\",\"likes\":{\"count\":4,\"groups\":[{\"type\":\"others\",\"count\":4,\"items\":[{\"id\":\"60787\",\"firstName\":\"Mike\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ML1MH3LSEA5QFKZG.jpg\"},\"type\":\"celebrity\"},{\"id\":\"1502105\",\"firstName\":\"Krista\",\"lastName\":\"B.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/BE2RVZQ4BEODUKNM.jpg\"}}]}],\"summary\":\"4 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"60787\",\"firstName\":\"Mike\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ML1MH3LSEA5QFKZG.jpg\"},\"type\":\"celebrity\"}},{\"id\":\"4d6ac7202ea9b1f7892ec928\",\"createdAt\":1298843424,\"text\":\"Cheapest slice in the east village... This many squatter punks, poor students, and starving artist can't be wrong\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4d6ac7202ea9b1f7892ec928\",\"likes\":{\"count\":3,\"groups\":[{\"type\":\"others\",\"count\":3,\"items\":[]}],\"summary\":\"3 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"4418\",\"firstName\":\"marvin\",\"lastName\":\"m.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/OG5W4OWZAXLOORMG.jpg\"}}},{\"id\":\"4c9840dccaad199cff7b7fed\",\"createdAt\":1285046492,\"text\":\"To Sarah....this mayorship is mine, bitch!\",\"url\":\"\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4c9840dccaad199cff7b7fed\",\"likes\":{\"count\":3,\"groups\":[{\"type\":\"others\",\"count\":3,\"items\":[]}],\"summary\":\"3 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"1122894\",\"firstName\":\"John\",\"lastName\":\"C.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/KBI1A4JMHOEZEIHC.jpg\"}}},{\"id\":\"4ac62ec870c603bb108a8eb4\",\"createdAt\":1254502088,\"text\":\"Cheapest pizza in the village\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4ac62ec870c603bb108a8eb4\",\"likes\":{\"count\":3,\"groups\":[{\"type\":\"others\",\"count\":3,\"items\":[]}],\"summary\":\"3 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"50564\",\"firstName\":\"Melissa\",\"lastName\":\"L.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/4abf90597b953.jpg\"}}},{\"id\":\"4ee93dd09adfcff6c57b0d61\",\"createdAt\":1323908560,\"text\":\"Drunk munches, anyone?\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4ee93dd09adfcff6c57b0d61\",\"likes\":{\"count\":2,\"groups\":[{\"type\":\"others\",\"count\":2,\"items\":[{\"id\":\"22583704\",\"firstName\":\"Sebastian\",\"lastName\":\"O.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/LH5EAI50032AQY55.jpg\"}}]}],\"summary\":\"2 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"2356670\",\"firstName\":\"Genevieve Claire\",\"lastName\":\"C.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/YJEVZMJZA3OSGYXM.jpg\"}}},{\"id\":\"4e7bf0f081dc466de266f76c\",\"createdAt\":1316745456,\"text\":\"Check my picture. I found a QUARTER BAKED INTO MY SLICE!!! You get what you pay for...plus more? yucko\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4e7bf0f081dc466de266f76c\",\"likes\":{\"count\":2,\"groups\":[{\"type\":\"others\",\"count\":2,\"items\":[{\"id\":\"17162420\",\"firstName\":\"Chris\",\"lastName\":\"C.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/GD2AD45B1WHBL5EB.jpg\"}},{\"id\":\"9254735\",\"firstName\":\"Christie\",\"lastName\":\"C.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/VFGRRIKGM1EAFV2V.jpg\"}}]}],\"summary\":\"2 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"4741965\",\"firstName\":\"Erica\",\"lastName\":\"v.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/D14ZPD0SGBFCWRVP.jpg\"}}},{\"id\":\"4e2056a2b3add90f9f4a0b28\",\"createdAt\":1310742178,\"text\":\"Hard to beat $1 slices of Pizza!\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4e2056a2b3add90f9f4a0b28\",\"photo\":{\"id\":\"4d548c3d32f9a3408383d810\",\"createdAt\":1297386557,\"source\":{\"name\":\"Foodspotting\",\"url\":\"http:\\/\\/www.foodspotting.com\"},\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/\",\"suffix\":\"\\/XURB3E1SUB4JO4TH3T0O320N3V42ABATKENBL3GBVBTBDYLA.jpg\",\"width\":800,\"height\":597},\"photourl\":\"https:\\/\\/irs2.4sqi.net\\/img\\/general\\/original\\/XURB3E1SUB4JO4TH3T0O320N3V42ABATKENBL3GBVBTBDYLA.jpg\",\"likes\":{\"count\":2,\"groups\":[{\"type\":\"others\",\"count\":2,\"items\":[]}],\"summary\":\"2 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"3820\",\"firstName\":\"Matthew\",\"lastName\":\"H.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/EULP3UTMMW4T40KC.jpg\"}}},{\"id\":\"4c0b0ea53c70b713181b285b\",\"createdAt\":1275793061,\"text\":\"$1 pizza or 2 slices and a drink for $2.75. Can't beat that.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4c0b0ea53c70b713181b285b\",\"likes\":{\"count\":2,\"groups\":[{\"type\":\"others\",\"count\":2,\"items\":[]}],\"summary\":\"2 likes\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"1544813\",\"firstName\":\"Kristen\",\"lastName\":\"C.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/5N5D4NSDONJHHIPS.jpg\"}}},{\"id\":\"511f40dae4b05d421b09d96a\",\"createdAt\":1361002714,\"text\":\"Do you want 2 Bros after 3 AM on a weekend night? You're out of luck \\\"bro.\\\" No brotherly love or 24\\/7 service contrary to popular belief.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/511f40dae4b05d421b09d96a\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[{\"id\":\"33425124\",\"firstName\":\"Anna\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/ECPEMLPLYASUNENS.jpg\"}}]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"37422365\",\"firstName\":\"Josh\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/KFSIN0ODUWZXE2JB.jpg\"}}},{\"id\":\"5039331be4b054a09076b7cd\",\"createdAt\":1345925915,\"text\":\"Ask them for a pizza and then wink! They'll know what you mean.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/5039331be4b054a09076b7cd\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[{\"id\":\"646\",\"firstName\":\"Jorge\",\"lastName\":\"O.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/4a5e36cdcc36b.jpg\"},\"type\":\"celebrity\"}]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"8432\",\"firstName\":\"Keith\",\"lastName\":\"S.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/FQH15304U3LVX4HT.jpg\"}}},{\"id\":\"4f63b827e4b0c65cc3a5723f\",\"createdAt\":1331935271,\"text\":\"Dirt cheap pizza, nothing more to say here...\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4f63b827e4b0c65cc3a5723f\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"361\",\"firstName\":\"Peter\",\"lastName\":\"N.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/5EGUMD0XN5TIEPAU.jpg\"},\"type\":\"celebrity\"}},{\"id\":\"4f220b99e4b0476577437f65\",\"createdAt\":1327631257,\"text\":\"Pizzas are 99\xC2\xA2, the crack whores are free.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4f220b99e4b0476577437f65\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"4659466\",\"firstName\":\"Monet\",\"lastName\":\"H.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/40DEBIHHQDEZKZA5.jpg\"}}},{\"id\":\"4eb5cbf46c2590eb883a90bf\",\"createdAt\":1320537076,\"text\":\"Best drunken munchies\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4eb5cbf46c2590eb883a90bf\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"9618021\",\"firstName\":\"Meghan\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/VWXA3BWJVFSPGQRB.jpg\"}}},{\"id\":\"4ea747c9cc21adeb98d921a1\",\"createdAt\":1319585737,\"text\":\"At $1 a slice or $2.75 for two and a can soda, this is no subtle artisanal masterpiece. But it's damn good pizza for a damn good price and that makes it a staple stop for every college student in NYC.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4ea747c9cc21adeb98d921a1\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"1963365\",\"firstName\":\"StefanoBlack\xE2\x96\x92\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/OXN3NAJA0EJHHNDO.jpg\"}}},{\"id\":\"4e5542641f6e7ab6b1bcfe0e\",\"createdAt\":1314210404,\"text\":\"1$ slices. 'Nuff said.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4e5542641f6e7ab6b1bcfe0e\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"12715344\",\"firstName\":\"Kerry\",\"lastName\":\"K.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/4TLJNP1WM4NIY5ET.jpg\"}}},{\"id\":\"4e2dd4a7b3adc9fff1f7b002\",\"createdAt\":1311626407,\"text\":\"N-Sider favorite: We have been eating here since they first opened up and it's great to have a place like this that you can go to late at night. Did we mention that it's only $1 a slice!!!\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4e2dd4a7b3adc9fff1f7b002\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[]}],\"summary\":\"1 like\"},\"like\":false,\"logView\":true,\"todo\":{\"count\":0},\"user\":{\"id\":\"11523582\",\"firstName\":\"NearSay NYC\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/OXXXABEI0Y1LL4HL.jpg\"},\"type\":\"page\"}},{\"id\":\"4d96ac9cc19fb60cf2828465\",\"createdAt\":1301720220,\"text\":\"Yummy & cheap\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4d96ac9cc19fb60cf2828465\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"4437773\",\"firstName\":\"Naddyn\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/KI2VEQZGNIIGKH0U.jpg\"}}},{\"id\":\"4cd9c9346c25b60c457ad24f\",\"createdAt\":1289341236,\"text\":\"mmm buck pizza.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4cd9c9346c25b60c457ad24f\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"394032\",\"firstName\":\"justinstoned\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/VRU4R4UKIUI0RVBH.jpg\"}}},{\"id\":\"4c7420b366be6dcb8ed7bc0f\",\"createdAt\":1282678963,\"text\":\"Dollar slice :-)\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4c7420b366be6dcb8ed7bc0f\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":1},\"user\":{\"id\":\"2537402\",\"firstName\":\"Joey\",\"lastName\":\"H.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/OKPXZBN40Q25N1SR.jpg\"}}},{\"id\":\"4c1039023708d13a4f12615b\",\"createdAt\":1276131586,\"text\":\"eat fast or sit on the stoop across the st\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/4c1039023708d13a4f12615b\",\"likes\":{\"count\":1,\"groups\":[{\"type\":\"others\",\"count\":1,\"items\":[]}],\"summary\":\"1 like\"},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"1305799\",\"firstName\":\"Jackie\",\"lastName\":\"K.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs2.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/MJWLXM3Y4DJLUENZ.jpg\"}}},{\"id\":\"51a91c9a498e55cfa51f000f\",\"createdAt\":1370037402,\"text\":\"cheapest food in NYC, oh, they have air conditioner now, even better :)\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/51a91c9a498e55cfa51f000f\",\"likes\":{\"count\":0,\"groups\":[]},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"41699756\",\"firstName\":\"Jesse\",\"lastName\":\"L.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs1.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/3AUN55PAHCMKLKM1.jpg\"}}},{\"id\":\"517b1128e4b0a6cfdf1e4283\",\"createdAt\":1367019816,\"text\":\"The best $1 slice in the world! Better than slices 3x the price.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/517b1128e4b0a6cfdf1e4283\",\"likes\":{\"count\":0,\"groups\":[]},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"22011539\",\"firstName\":\"Eric\",\"lastName\":\"W.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/YITCKWO0RRT2BPAB.jpg\"}}},{\"id\":\"511d4be0e4b01fa8bfc4ff20\",\"createdAt\":1360874464,\"text\":\"We won't call 2 Bros the best quality slice in the city, but $1 for a hefty slice (or $2.75 for 2 plus a soda) leads the pack in value.\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/511d4be0e4b01fa8bfc4ff20\",\"likes\":{\"count\":0,\"groups\":[]},\"like\":false,\"logView\":true,\"editedAt\":1365382435,\"todo\":{\"count\":0},\"user\":{\"id\":\"29125280\",\"firstName\":\"HashtagNYU\",\"gender\":\"none\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/AGUDF3JS4KN2OIFK.jpg\"},\"type\":\"page\"}},{\"id\":\"51173d43e4b02a04bbb92fca\",\"createdAt\":1360477507,\"text\":\"They've upped their prices to $1.50. What up 2 bros? :(\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/51173d43e4b02a04bbb92fca\",\"likes\":{\"count\":0,\"groups\":[]},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"37220402\",\"firstName\":\"Bryanne\",\"lastName\":\"P.\",\"gender\":\"female\",\"photo\":{\"prefix\":\"https:\\/\\/irs3.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/KVUA0MDYVXBOTPR4.jpg\"}}},{\"id\":\"5109bccae4b0a2ece542e59c\",\"createdAt\":1359592650,\"text\":\"Now it's $1.50\",\"canonicalUrl\":\"https:\\/\\/foursquare.com\\/item\\/5109bccae4b0a2ece542e59c\",\"likes\":{\"count\":0,\"groups\":[]},\"like\":false,\"todo\":{\"count\":0},\"user\":{\"id\":\"11622686\",\"firstName\":\"B\",\"lastName\":\"F.\",\"gender\":\"male\",\"photo\":{\"prefix\":\"https:\\/\\/irs0.4sqi.net\\/img\\/user\\/\",\"suffix\":\"\\/JO1CF0LH1ISKSTV5.jpg\"}}}]}}}"
|
577
|
+
http_version:
|
578
|
+
recorded_at: Mon, 17 Jun 2013 14:14:04 GMT
|
579
|
+
recorded_with: VCR 2.5.0
|
data/spec/vcr/vcr.rb
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
VCR.configure do |vcr|
|
2
|
+
vcr.cassette_library_dir = 'spec/vcr/fixtures/cassettes'
|
3
|
+
vcr.default_cassette_options = { :record => :new_episodes }
|
4
|
+
vcr.hook_into :webmock
|
5
|
+
vcr.configure_rspec_metadata!
|
6
|
+
vcr.default_cassette_options = { :serialize_with => :syck, :decode_compressed_response => true }
|
7
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mosaic-foursquare
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- S. Brent Faulkner
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
cWkwT1ZqMjAvRCsvcjJxRkNqV2cwVjAzdTdGNDg2UkwKbkVBa3lXL3NaTjRX
|
36
36
|
Q29RbmpoeDF3MmYrd2FnVURBTzY4L0E1U0kxaUdyZVlRb3VvN1lRS0xNWC9p
|
37
37
|
WlFKYng2QwpzTERtRXdUcgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
38
|
-
date: 2013-06-
|
38
|
+
date: 2013-06-18 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: httparty
|
@@ -124,6 +124,7 @@ files:
|
|
124
124
|
- lib/mosaic/foursquare/checkin.rb
|
125
125
|
- lib/mosaic/foursquare/object.rb
|
126
126
|
- lib/mosaic/foursquare/photo.rb
|
127
|
+
- lib/mosaic/foursquare/tip.rb
|
127
128
|
- lib/mosaic/foursquare/update.rb
|
128
129
|
- lib/mosaic/foursquare/user.rb
|
129
130
|
- lib/mosaic/foursquare/venue.rb
|
@@ -132,6 +133,17 @@ files:
|
|
132
133
|
- lib/mosaic/utils/helpers.rb
|
133
134
|
- lib/tasks/mosaic-foursquare_tasks.rake
|
134
135
|
- mosaic-foursquare.gemspec
|
136
|
+
- spec/foursquare/checkin_spec.rb
|
137
|
+
- spec/foursquare/photo_spec.rb
|
138
|
+
- spec/foursquare/tip_spec.rb
|
139
|
+
- spec/foursquare/update_spec.rb
|
140
|
+
- spec/foursquare/user_spec.rb
|
141
|
+
- spec/foursquare/venue_spec.rb
|
142
|
+
- spec/foursquare_config.yml.example
|
143
|
+
- spec/spec.opts
|
144
|
+
- spec/spec_helper.rb
|
145
|
+
- spec/vcr/fixtures/cassettes/Venue/shared.yml
|
146
|
+
- spec/vcr/vcr.rb
|
135
147
|
homepage: http://github.com/mosaicxm/mosaic-foursquare
|
136
148
|
licenses: []
|
137
149
|
metadata: {}
|
@@ -155,5 +167,16 @@ rubygems_version: 2.0.3
|
|
155
167
|
signing_key:
|
156
168
|
specification_version: 4
|
157
169
|
summary: Mosaic Sales Solutions Foursquare API wrapper.
|
158
|
-
test_files:
|
170
|
+
test_files:
|
171
|
+
- spec/foursquare/checkin_spec.rb
|
172
|
+
- spec/foursquare/photo_spec.rb
|
173
|
+
- spec/foursquare/tip_spec.rb
|
174
|
+
- spec/foursquare/update_spec.rb
|
175
|
+
- spec/foursquare/user_spec.rb
|
176
|
+
- spec/foursquare/venue_spec.rb
|
177
|
+
- spec/foursquare_config.yml.example
|
178
|
+
- spec/spec.opts
|
179
|
+
- spec/spec_helper.rb
|
180
|
+
- spec/vcr/fixtures/cassettes/Venue/shared.yml
|
181
|
+
- spec/vcr/vcr.rb
|
159
182
|
has_rdoc:
|