fb_graph2 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/VERSION +1 -1
- data/lib/fb_graph2.rb +1 -1
- data/lib/fb_graph2/app.rb +0 -1
- data/lib/fb_graph2/event.rb +1 -2
- data/lib/fb_graph2/page.rb +3 -5
- data/lib/fb_graph2/post.rb +2 -5
- data/lib/fb_graph2/user.rb +1 -10
- data/spec/fb_graph2/edge/members_spec.rb +1 -1
- data/spec/fb_graph2_spec.rb +1 -1
- data/spec/mock_json/page/promotable_posts.json +2 -4
- data/spec/mock_json/post/shared_posts.json +2 -4
- data/spec/mock_json/user/feed.json +14 -24
- data/spec/mock_json/user/me.json +1 -1
- data/spec/mock_json/user/posts.json +2 -4
- metadata +3 -33
- data/lib/fb_graph2/edge/applications.rb +0 -12
- data/lib/fb_graph2/edge/home.rb +0 -12
- data/lib/fb_graph2/edge/inbox.rb +0 -12
- data/lib/fb_graph2/edge/invited.rb +0 -12
- data/lib/fb_graph2/edge/links.rb +0 -12
- data/lib/fb_graph2/edge/notifications.rb +0 -17
- data/lib/fb_graph2/edge/open_graph/actions.rb +0 -19
- data/lib/fb_graph2/edge/open_graph/objects.rb +0 -12
- data/lib/fb_graph2/edge/outbox.rb +0 -12
- data/lib/fb_graph2/edge/statuses.rb +0 -12
- data/lib/fb_graph2/open_graph/action.rb +0 -24
- data/lib/fb_graph2/open_graph/object.rb +0 -9
- data/spec/fb_graph2/edge/applications_spec.rb +0 -20
- data/spec/fb_graph2/edge/home_spec.rb +0 -19
- data/spec/fb_graph2/edge/inbox_spec.rb +0 -20
- data/spec/fb_graph2/edge/invited_spec.rb +0 -20
- data/spec/fb_graph2/edge/links_spec.rb +0 -19
- data/spec/fb_graph2/edge/notifications_spec.rb +0 -30
- data/spec/fb_graph2/edge/open_graph/actions_spec.rb +0 -28
- data/spec/fb_graph2/edge/outbox_spec.rb +0 -19
- data/spec/fb_graph2/edge/statuses_spec.rb +0 -19
- data/spec/mock_json/event/invited.json +0 -17
- data/spec/mock_json/user/applications.json +0 -16
- data/spec/mock_json/user/home.json +0 -61
- data/spec/mock_json/user/inbox.json +0 -41
- data/spec/mock_json/user/links.json +0 -45
- data/spec/mock_json/user/notifications.json +0 -45
- data/spec/mock_json/user/og_actions_likes.json +0 -49
- data/spec/mock_json/user/outbox.json +0 -36
- data/spec/mock_json/user/statuses.json +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e431f8fe91ff5513131d0cd82e1f3680dd2ebce7
|
4
|
+
data.tar.gz: 4ce43fa5d85b44bd4ad58687e0709a93944036a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b36411dd226f0479c6da0eede7590fc6a0e2c3b39cbe8fe1f9fba91ab1f1ca2dab2c018bc12a13efbbb26ceacbbe4fb2bb8e5ea4770320121da9981483b206cd
|
7
|
+
data.tar.gz: 2afd8efcfa1d85349763515fc663a6e0baa723e8b8184ac0720b3d3a739c140b06698ce47889399b15bb04b1d2a39015d4565846d8897292d50b7dc5a2e0a24a
|
data/.travis.yml
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.9.0
|
data/lib/fb_graph2.rb
CHANGED
@@ -8,7 +8,7 @@ module FbGraph2
|
|
8
8
|
mattr_accessor :root_url, :api_version, :gem_version, :logger, :debugging, :_http_config_, :object_classes
|
9
9
|
|
10
10
|
self.root_url = 'https://graph.facebook.com'
|
11
|
-
self.api_version = 'v2.
|
11
|
+
self.api_version = 'v2.8'
|
12
12
|
self.gem_version = File.read(File.join(__dir__, '../VERSION')).strip
|
13
13
|
self.logger = Logger.new(STDOUT)
|
14
14
|
self.logger.progname = 'FbGraph2'
|
data/lib/fb_graph2/app.rb
CHANGED
data/lib/fb_graph2/event.rb
CHANGED
@@ -3,7 +3,6 @@ module FbGraph2
|
|
3
3
|
include Edge::Attending
|
4
4
|
include Edge::Declined
|
5
5
|
include Edge::Feed
|
6
|
-
include Edge::Invited
|
7
6
|
include Edge::Maybe
|
8
7
|
include Edge::Noreply
|
9
8
|
include Edge::Picture
|
@@ -12,7 +11,7 @@ module FbGraph2
|
|
12
11
|
extend Searchable
|
13
12
|
|
14
13
|
register_attributes(
|
15
|
-
raw: [:description, :
|
14
|
+
raw: [:description, :location, :name, :ticket_uri, :timezone],
|
16
15
|
time: [:end_time, :start_time, :updated_time],
|
17
16
|
page: [:venue],
|
18
17
|
profile: [:owner],
|
data/lib/fb_graph2/page.rb
CHANGED
@@ -8,7 +8,6 @@ module FbGraph2
|
|
8
8
|
include Edge::Feed
|
9
9
|
include Edge::GlobalBrandChildren
|
10
10
|
include Edge::Insights
|
11
|
-
include Edge::Links
|
12
11
|
include Edge::Locations
|
13
12
|
include Edge::Milestones
|
14
13
|
include Edge::Offers
|
@@ -19,7 +18,6 @@ module FbGraph2
|
|
19
18
|
include Edge::Ratings
|
20
19
|
include Edge::Roles::PageContext
|
21
20
|
include Edge::Settings
|
22
|
-
include Edge::Statuses
|
23
21
|
include Edge::Tagged
|
24
22
|
include Edge::Videos
|
25
23
|
extend Searchable
|
@@ -27,10 +25,10 @@ module FbGraph2
|
|
27
25
|
register_attributes(
|
28
26
|
raw: [
|
29
27
|
:about, :attire, :band_members, :booking_agent, :can_post, :category, :checkins, :company_overview,
|
30
|
-
:current_location, :description, :directed_by, :founded, :general_info, :general_manager, :global_brand_page_name,
|
31
|
-
:hometown, :hours, :impressum, :is_permanently_closed, :is_published, :is_unclaimed, :
|
28
|
+
:current_location, :description, :directed_by, :emails, :founded, :general_info, :general_manager, :global_brand_page_name,
|
29
|
+
:hometown, :hours, :impressum, :is_permanently_closed, :is_published, :is_unclaimed, :fan_count, :link, :mission, :name,
|
32
30
|
:name_with_location_descriptor, :phone, :press_contact, :price_range, :products, :talking_about_count, :username,
|
33
|
-
:website, :were_here_count,
|
31
|
+
:website, :were_here_count, :is_webhooks_subscribed,
|
34
32
|
# NOTE: only within /:user_id/accounts context
|
35
33
|
:perms
|
36
34
|
],
|
data/lib/fb_graph2/post.rb
CHANGED
@@ -24,11 +24,8 @@ module FbGraph2
|
|
24
24
|
def initialize(id, attributes = {})
|
25
25
|
super
|
26
26
|
if attributes.include? :message_tags
|
27
|
-
self.message_tags = attributes[:message_tags].
|
28
|
-
|
29
|
-
TaggedProfile.new value[:id], value
|
30
|
-
end
|
31
|
-
message_tags.merge! key => _message_tags_
|
27
|
+
self.message_tags = attributes[:message_tags].collect do |message_tag|
|
28
|
+
TaggedProfile.new message_tag[:id], message_tag
|
32
29
|
end
|
33
30
|
end
|
34
31
|
if attributes.include? :privacy
|
data/lib/fb_graph2/user.rb
CHANGED
@@ -4,7 +4,6 @@ module FbGraph2
|
|
4
4
|
include Edge::Achievements
|
5
5
|
include Edge::Activities
|
6
6
|
include Edge::Albums
|
7
|
-
include Edge::Applications
|
8
7
|
include Edge::AppRequests
|
9
8
|
include Edge::Books
|
10
9
|
include Edge::Domains
|
@@ -15,17 +14,11 @@ module FbGraph2
|
|
15
14
|
include Edge::Friends
|
16
15
|
include Edge::Games
|
17
16
|
include Edge::Groups
|
18
|
-
include Edge::Home
|
19
|
-
include Edge::Inbox
|
20
17
|
include Edge::Interests
|
21
18
|
include Edge::InvitableFriends
|
22
19
|
include Edge::Likes::LikerContext
|
23
|
-
include Edge::Links
|
24
20
|
include Edge::Movies
|
25
21
|
include Edge::Music
|
26
|
-
include Edge::Notifications
|
27
|
-
include Edge::OpenGraph::Actions
|
28
|
-
include Edge::Outbox
|
29
22
|
include Edge::PaymentTransactions
|
30
23
|
include Edge::Permissions
|
31
24
|
include Edge::Picture
|
@@ -33,7 +26,6 @@ module FbGraph2
|
|
33
26
|
include Edge::Pokes
|
34
27
|
include Edge::Posts
|
35
28
|
include Edge::Scores
|
36
|
-
include Edge::Statuses
|
37
29
|
include Edge::TaggableFriends
|
38
30
|
include Edge::Tagged
|
39
31
|
include Edge::TaggedPlaces
|
@@ -43,7 +35,7 @@ module FbGraph2
|
|
43
35
|
|
44
36
|
register_attributes(
|
45
37
|
raw: [
|
46
|
-
:about, :
|
38
|
+
:about, :email, :first_name, :gender, :install_type, :installed, :interested_in, :is_eligible_promo,
|
47
39
|
:is_shared_login, :is_verified, :last_name, :link, :locale, :meeting_for, :middle_name, :name, :name_format,
|
48
40
|
:political, :quotes, :relationship_status, :religion, :test_group, :third_party_id, :timezone, :token_for_business,
|
49
41
|
:verified, :viewer_can_send_gift, :website,
|
@@ -73,7 +65,6 @@ module FbGraph2
|
|
73
65
|
:tagging_user
|
74
66
|
],
|
75
67
|
photo: [:cover],
|
76
|
-
location: [:address],
|
77
68
|
custom: [
|
78
69
|
:age_range, :context, :currency, :devices, :education, :payment_mobile_pricepoints, :payment_pricepoints,
|
79
70
|
:security_settings, :suggested_groups, :video_upload_limits, :work
|
@@ -4,7 +4,7 @@ describe FbGraph2::Edge::Members do
|
|
4
4
|
context 'included in Group' do
|
5
5
|
let(:group) { FbGraph2::Group.new('group_id').authenticate('token') }
|
6
6
|
|
7
|
-
describe '#
|
7
|
+
describe '#members' do
|
8
8
|
it 'should return an Array of FbGraph2::User' do
|
9
9
|
users = mock_graph :get, 'group_id/members', 'group/members', access_token: 'token' do
|
10
10
|
group.members
|
data/spec/fb_graph2_spec.rb
CHANGED
@@ -6,7 +6,7 @@ describe FbGraph2 do
|
|
6
6
|
|
7
7
|
context 'as default' do
|
8
8
|
its(:logger) { should be_a Logger }
|
9
|
-
its(:api_version) { should == 'v2.
|
9
|
+
its(:api_version) { should == 'v2.8' }
|
10
10
|
its(:root_url) { should == 'https://graph.facebook.com' }
|
11
11
|
it { should_not be_debugging }
|
12
12
|
end
|
@@ -7,15 +7,13 @@
|
|
7
7
|
"id": "140478125968442"
|
8
8
|
},
|
9
9
|
"story": "OAuth.jp shared a link.",
|
10
|
-
"story_tags": {
|
11
|
-
"0": [{
|
10
|
+
"story_tags": [{
|
12
11
|
"id": "140478125968442",
|
13
12
|
"name": "OAuth.jp",
|
14
13
|
"offset": 0,
|
15
14
|
"length": 8,
|
16
15
|
"type": "page"
|
17
|
-
}]
|
18
|
-
},
|
16
|
+
}],
|
19
17
|
"link": "http://oauth.jp/blog/2014/05/09/what-happens-when-oauth2-code-leaked/",
|
20
18
|
"name": "OAuth 2.0 の code は漏れても大丈夫ってホント!? - OAuth.jp",
|
21
19
|
"caption": "oauth.jp",
|
@@ -6,15 +6,13 @@
|
|
6
6
|
"name": "Shunya Iriki"
|
7
7
|
},
|
8
8
|
"story": "Shunya Iriki shared a link.",
|
9
|
-
"story_tags": {
|
10
|
-
"0": [{
|
9
|
+
"story_tags": [{
|
11
10
|
"id": "689134294485152",
|
12
11
|
"name": "Shunya Iriki",
|
13
12
|
"offset": 0,
|
14
13
|
"length": 12,
|
15
14
|
"type": "user"
|
16
|
-
}]
|
17
|
-
},
|
15
|
+
}],
|
18
16
|
"picture": "https://fbexternal-a.akamaihd.net/safe_image.php?d=AQCtEdPdezKIoUxo&w=154&h=154&url=http%3A%2F%2Fi.yimg.jp%2Fi%2Fdocs%2Frelease%2Ffbicon.jpg",
|
19
17
|
"link": "http://docs.yahoo.co.jp/docs/info/terms/chapter1.html#cf2nd",
|
20
18
|
"name": "ヤフー株式会社 - サービス利用規約 第1編 基本ガイドライン",
|
@@ -6,15 +6,13 @@
|
|
6
6
|
"name": "Nov Matake"
|
7
7
|
},
|
8
8
|
"story": "Nov Matake likes a photo.",
|
9
|
-
"story_tags": {
|
10
|
-
"0": [{
|
9
|
+
"story_tags": [{
|
11
10
|
"id": "579612276",
|
12
11
|
"name": "Nov Matake",
|
13
12
|
"offset": 0,
|
14
13
|
"length": 10,
|
15
14
|
"type": "user"
|
16
|
-
}]
|
17
|
-
},
|
15
|
+
}],
|
18
16
|
"privacy": {
|
19
17
|
"value": ""
|
20
18
|
},
|
@@ -29,22 +27,20 @@
|
|
29
27
|
},
|
30
28
|
"message": "ビッグデータとひわいっち",
|
31
29
|
"story": "Nov Matake shared Keisuke Hiwatashi's photo.",
|
32
|
-
"story_tags": {
|
33
|
-
"0": [{
|
30
|
+
"story_tags": [{
|
34
31
|
"id": "579612276",
|
35
32
|
"name": "Nov Matake",
|
36
33
|
"offset": 0,
|
37
34
|
"length": 10,
|
38
35
|
"type": "user"
|
39
|
-
}
|
40
|
-
|
36
|
+
},
|
37
|
+
{
|
41
38
|
"id": "674146975973023",
|
42
39
|
"name": "Keisuke Hiwatashi",
|
43
40
|
"offset": 18,
|
44
41
|
"length": 17,
|
45
42
|
"type": "user"
|
46
|
-
}]
|
47
|
-
},
|
43
|
+
}],
|
48
44
|
"picture": "https://fbcdn-photos-h-a.akamaihd.net/hphotos-ak-xfp1/t1.0-0/10325169_677983408922713_1895639973177548237_s.jpg",
|
49
45
|
"link": "https://www.facebook.com/photo.php?fbid=677983408922713&set=a.150687431652316.43478.100001331809083&type=1",
|
50
46
|
"name": "Mobile Uploads",
|
@@ -87,15 +83,13 @@
|
|
87
83
|
"name": "Nov Matake"
|
88
84
|
},
|
89
85
|
"story": "Nov Matake shared a link.",
|
90
|
-
"story_tags": {
|
91
|
-
"0": [{
|
86
|
+
"story_tags": [{
|
92
87
|
"id": "579612276",
|
93
88
|
"name": "Nov Matake",
|
94
89
|
"offset": 0,
|
95
90
|
"length": 10,
|
96
91
|
"type": "user"
|
97
|
-
}]
|
98
|
-
},
|
92
|
+
}],
|
99
93
|
"picture": "https://fbexternal-a.akamaihd.net/safe_image.php?d=AQAcHDji1ec2KqYZ&w=154&h=154&url=http%3A%2F%2Fua.nakanohito.jp%2Fua%2F%3Ffrom%3Duamb%26id%3D7932754%26mode%3Ddefault%26h%3D55529355%26rand%3Dnoscript%26guid%3DON%26url%3Dhttp%3A%2F%2Fkirik.tea-nifty.com%2Fdiary%2F2014%2F05%2Fivs-ed80.html%26eflg%3D1",
|
100
94
|
"link": "http://ow.ly/xoEJp",
|
101
95
|
"name": "IVS札幌でセクハラ・レイプ未遂騒ぎが勃発&インサイダー情報が乱舞: やまもといちろうBLOG(ブログ)",
|
@@ -152,22 +146,20 @@
|
|
152
146
|
},
|
153
147
|
"message": "じわじわくる",
|
154
148
|
"story": "Nov Matake shared Yoichi Hagiwara's photo.",
|
155
|
-
"story_tags": {
|
156
|
-
"0": [{
|
149
|
+
"story_tags": [{
|
157
150
|
"id": "579612276",
|
158
151
|
"name": "Nov Matake",
|
159
152
|
"offset": 0,
|
160
153
|
"length": 10,
|
161
154
|
"type": "user"
|
162
|
-
}
|
163
|
-
|
155
|
+
},
|
156
|
+
{
|
164
157
|
"id": "636860593058872",
|
165
158
|
"name": "Yoichi Hagiwara",
|
166
159
|
"offset": 18,
|
167
160
|
"length": 15,
|
168
161
|
"type": "user"
|
169
|
-
}]
|
170
|
-
},
|
162
|
+
}],
|
171
163
|
"picture": "https://fbcdn-photos-b-a.akamaihd.net/hphotos-ak-xfp1/t1.0-0/10410479_636298869781711_8967036710690476822_s.jpg",
|
172
164
|
"link": "https://www.facebook.com/photo.php?fbid=636298869781711&set=a.168178316593771.41312.100002048127511&type=1",
|
173
165
|
"name": "Timeline Photos",
|
@@ -209,15 +201,13 @@
|
|
209
201
|
"name": "Nov Matake"
|
210
202
|
},
|
211
203
|
"story": "Nov Matake shared a link.",
|
212
|
-
"story_tags": {
|
213
|
-
"0": [{
|
204
|
+
"story_tags": [{
|
214
205
|
"id": "579612276",
|
215
206
|
"name": "Nov Matake",
|
216
207
|
"offset": 0,
|
217
208
|
"length": 10,
|
218
209
|
"type": "user"
|
219
|
-
}]
|
220
|
-
},
|
210
|
+
}],
|
221
211
|
"picture": "https://fbexternal-a.akamaihd.net/safe_image.php?d=AQDQyx3PnnIPoGqZ&w=154&h=154&url=http%3A%2F%2Fc002.ocn.ne.jp%2Fimg%2Flogo_nttcommunications_001.gif",
|
222
212
|
"link": "http://mypage.ocn.ne.jp/sorry/index.html",
|
223
213
|
"name": "お詫び | マイページ",
|
data/spec/mock_json/user/me.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"id": "10152411392127277",
|
3
|
-
"
|
3
|
+
"about": "Ruby/Rails developer, developing several gems like fb_graph, rack-oauth2, paypal-express, openid_connect, activitystreams etc.",
|
4
4
|
"birthday": "12/13/1981",
|
5
5
|
"education": [{
|
6
6
|
"classes": [{
|
@@ -12,15 +12,13 @@
|
|
12
12
|
}]
|
13
13
|
},
|
14
14
|
"message": "Nov Matake test",
|
15
|
-
"message_tags": {
|
16
|
-
"0": [{
|
15
|
+
"message_tags": [{
|
17
16
|
"id": "579612276",
|
18
17
|
"name": "Nov Matake",
|
19
18
|
"type": "user",
|
20
19
|
"offset": 0,
|
21
20
|
"length": 10
|
22
|
-
}]
|
23
|
-
},
|
21
|
+
}],
|
24
22
|
"actions": [{
|
25
23
|
"name": "Comment",
|
26
24
|
"link": "https://www.facebook.com/579612276/posts/10152483324277277"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fb_graph2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -189,7 +189,6 @@ files:
|
|
189
189
|
- lib/fb_graph2/edge/app_insights.rb
|
190
190
|
- lib/fb_graph2/edge/app_link_hosts.rb
|
191
191
|
- lib/fb_graph2/edge/app_requests.rb
|
192
|
-
- lib/fb_graph2/edge/applications.rb
|
193
192
|
- lib/fb_graph2/edge/attending.rb
|
194
193
|
- lib/fb_graph2/edge/banned.rb
|
195
194
|
- lib/fb_graph2/edge/blocked.rb
|
@@ -209,14 +208,10 @@ files:
|
|
209
208
|
- lib/fb_graph2/edge/games.rb
|
210
209
|
- lib/fb_graph2/edge/global_brand_children.rb
|
211
210
|
- lib/fb_graph2/edge/groups.rb
|
212
|
-
- lib/fb_graph2/edge/home.rb
|
213
|
-
- lib/fb_graph2/edge/inbox.rb
|
214
211
|
- lib/fb_graph2/edge/insights.rb
|
215
212
|
- lib/fb_graph2/edge/interests.rb
|
216
213
|
- lib/fb_graph2/edge/invitable_friends.rb
|
217
|
-
- lib/fb_graph2/edge/invited.rb
|
218
214
|
- lib/fb_graph2/edge/likes.rb
|
219
|
-
- lib/fb_graph2/edge/links.rb
|
220
215
|
- lib/fb_graph2/edge/locations.rb
|
221
216
|
- lib/fb_graph2/edge/maybe.rb
|
222
217
|
- lib/fb_graph2/edge/members.rb
|
@@ -225,12 +220,8 @@ files:
|
|
225
220
|
- lib/fb_graph2/edge/movies.rb
|
226
221
|
- lib/fb_graph2/edge/music.rb
|
227
222
|
- lib/fb_graph2/edge/noreply.rb
|
228
|
-
- lib/fb_graph2/edge/notifications.rb
|
229
223
|
- lib/fb_graph2/edge/offers.rb
|
230
224
|
- lib/fb_graph2/edge/open_graph.rb
|
231
|
-
- lib/fb_graph2/edge/open_graph/actions.rb
|
232
|
-
- lib/fb_graph2/edge/open_graph/objects.rb
|
233
|
-
- lib/fb_graph2/edge/outbox.rb
|
234
225
|
- lib/fb_graph2/edge/payment_transactions.rb
|
235
226
|
- lib/fb_graph2/edge/permissions.rb
|
236
227
|
- lib/fb_graph2/edge/photos.rb
|
@@ -245,7 +236,6 @@ files:
|
|
245
236
|
- lib/fb_graph2/edge/settings.rb
|
246
237
|
- lib/fb_graph2/edge/shared_posts.rb
|
247
238
|
- lib/fb_graph2/edge/static_resources.rb
|
248
|
-
- lib/fb_graph2/edge/statuses.rb
|
249
239
|
- lib/fb_graph2/edge/subscriptions.rb
|
250
240
|
- lib/fb_graph2/edge/taggable_friends.rb
|
251
241
|
- lib/fb_graph2/edge/tagged.rb
|
@@ -267,8 +257,6 @@ files:
|
|
267
257
|
- lib/fb_graph2/notification.rb
|
268
258
|
- lib/fb_graph2/offer.rb
|
269
259
|
- lib/fb_graph2/open_graph.rb
|
270
|
-
- lib/fb_graph2/open_graph/action.rb
|
271
|
-
- lib/fb_graph2/open_graph/object.rb
|
272
260
|
- lib/fb_graph2/order.rb
|
273
261
|
- lib/fb_graph2/page.rb
|
274
262
|
- lib/fb_graph2/page_category.rb
|
@@ -334,7 +322,6 @@ files:
|
|
334
322
|
- spec/fb_graph2/edge/albums_spec.rb
|
335
323
|
- spec/fb_graph2/edge/app_insights_spec.rb
|
336
324
|
- spec/fb_graph2/edge/app_link_hosts_spec.rb
|
337
|
-
- spec/fb_graph2/edge/applications_spec.rb
|
338
325
|
- spec/fb_graph2/edge/attending_spec.rb
|
339
326
|
- spec/fb_graph2/edge/banned_spec.rb
|
340
327
|
- spec/fb_graph2/edge/blocked_spec.rb
|
@@ -347,13 +334,9 @@ files:
|
|
347
334
|
- spec/fb_graph2/edge/friend_lists_spec.rb
|
348
335
|
- spec/fb_graph2/edge/friends_spec.rb
|
349
336
|
- spec/fb_graph2/edge/groups_spec.rb
|
350
|
-
- spec/fb_graph2/edge/home_spec.rb
|
351
|
-
- spec/fb_graph2/edge/inbox_spec.rb
|
352
337
|
- spec/fb_graph2/edge/interests_spec.rb
|
353
338
|
- spec/fb_graph2/edge/invitable_friends_spec.rb
|
354
|
-
- spec/fb_graph2/edge/invited_spec.rb
|
355
339
|
- spec/fb_graph2/edge/likes_spec.rb
|
356
|
-
- spec/fb_graph2/edge/links_spec.rb
|
357
340
|
- spec/fb_graph2/edge/maybe_spec.rb
|
358
341
|
- spec/fb_graph2/edge/members_spec.rb
|
359
342
|
- spec/fb_graph2/edge/messages_spec.rb
|
@@ -361,10 +344,7 @@ files:
|
|
361
344
|
- spec/fb_graph2/edge/movies_spec.rb
|
362
345
|
- spec/fb_graph2/edge/music_spec.rb
|
363
346
|
- spec/fb_graph2/edge/noreply_spec.rb
|
364
|
-
- spec/fb_graph2/edge/notifications_spec.rb
|
365
347
|
- spec/fb_graph2/edge/offers_spec.rb
|
366
|
-
- spec/fb_graph2/edge/open_graph/actions_spec.rb
|
367
|
-
- spec/fb_graph2/edge/outbox_spec.rb
|
368
348
|
- spec/fb_graph2/edge/permissions_spec.rb
|
369
349
|
- spec/fb_graph2/edge/photos_spec.rb
|
370
350
|
- spec/fb_graph2/edge/picture_spec.rb
|
@@ -376,7 +356,6 @@ files:
|
|
376
356
|
- spec/fb_graph2/edge/scores_spec.rb
|
377
357
|
- spec/fb_graph2/edge/settings_spec.rb
|
378
358
|
- spec/fb_graph2/edge/shared_posts_spec.rb
|
379
|
-
- spec/fb_graph2/edge/statuses_spec.rb
|
380
359
|
- spec/fb_graph2/edge/subscriptions_spec.rb
|
381
360
|
- spec/fb_graph2/edge/taggable_friends_spec.rb
|
382
361
|
- spec/fb_graph2/edge/tagged_places_spec.rb
|
@@ -413,7 +392,6 @@ files:
|
|
413
392
|
- spec/mock_json/error/invalid_format.json
|
414
393
|
- spec/mock_json/event/attending.json
|
415
394
|
- spec/mock_json/event/declined.json
|
416
|
-
- spec/mock_json/event/invited.json
|
417
395
|
- spec/mock_json/event/maybe.json
|
418
396
|
- spec/mock_json/event/noreply.json
|
419
397
|
- spec/mock_json/group/members.json
|
@@ -448,33 +426,25 @@ files:
|
|
448
426
|
- spec/mock_json/user/achievements.json
|
449
427
|
- spec/mock_json/user/activities.json
|
450
428
|
- spec/mock_json/user/albums.json
|
451
|
-
- spec/mock_json/user/applications.json
|
452
429
|
- spec/mock_json/user/books.json
|
453
430
|
- spec/mock_json/user/events.json
|
454
431
|
- spec/mock_json/user/feed.json
|
455
432
|
- spec/mock_json/user/friend_lists.json
|
456
433
|
- spec/mock_json/user/friends.json
|
457
434
|
- spec/mock_json/user/groups.json
|
458
|
-
- spec/mock_json/user/home.json
|
459
|
-
- spec/mock_json/user/inbox.json
|
460
435
|
- spec/mock_json/user/interests.json
|
461
436
|
- spec/mock_json/user/invitable_friends.json
|
462
437
|
- spec/mock_json/user/likes.json
|
463
|
-
- spec/mock_json/user/links.json
|
464
438
|
- spec/mock_json/user/me.json
|
465
439
|
- spec/mock_json/user/me_with_ext_attrs.json
|
466
440
|
- spec/mock_json/user/movies.json
|
467
441
|
- spec/mock_json/user/music.json
|
468
|
-
- spec/mock_json/user/notifications.json
|
469
|
-
- spec/mock_json/user/og_actions_likes.json
|
470
|
-
- spec/mock_json/user/outbox.json
|
471
442
|
- spec/mock_json/user/permissions.json
|
472
443
|
- spec/mock_json/user/photos.json
|
473
444
|
- spec/mock_json/user/picture.json
|
474
445
|
- spec/mock_json/user/pokes.json
|
475
446
|
- spec/mock_json/user/posts.json
|
476
447
|
- spec/mock_json/user/scores.json
|
477
|
-
- spec/mock_json/user/statuses.json
|
478
448
|
- spec/mock_json/user/taggable_friends.json
|
479
449
|
- spec/mock_json/user/tagged_places.json
|
480
450
|
- spec/mock_json/user/television.json
|
@@ -502,7 +472,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
502
472
|
version: '0'
|
503
473
|
requirements: []
|
504
474
|
rubyforge_project:
|
505
|
-
rubygems_version: 2.
|
475
|
+
rubygems_version: 2.6.8
|
506
476
|
signing_key:
|
507
477
|
specification_version: 4
|
508
478
|
summary: Facebook Graph API v2.x Wrapper in Ruby
|
@@ -1,12 +0,0 @@
|
|
1
|
-
module FbGraph2
|
2
|
-
class Edge
|
3
|
-
module Applications
|
4
|
-
def applications(params = {})
|
5
|
-
apps = self.edge :applications, params, edge_scope: :developer
|
6
|
-
apps.collect! do |app|
|
7
|
-
App.new(app[:id], app).authenticate self.access_token
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
data/lib/fb_graph2/edge/home.rb
DELETED
data/lib/fb_graph2/edge/inbox.rb
DELETED
data/lib/fb_graph2/edge/links.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
module FbGraph2
|
2
|
-
class Edge
|
3
|
-
module Notifications
|
4
|
-
def notifications(params = {})
|
5
|
-
notifications = self.edge :notifications, params
|
6
|
-
notifications.collect! do |notification|
|
7
|
-
Notification.new notification[:id], notification
|
8
|
-
end
|
9
|
-
end
|
10
|
-
|
11
|
-
def notification!(params = {})
|
12
|
-
self.post params, edge: :notifications
|
13
|
-
end
|
14
|
-
alias_method :notify!, :notification!
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
module FbGraph2
|
2
|
-
class Edge
|
3
|
-
module OpenGraph
|
4
|
-
module Actions
|
5
|
-
def og_actions(action_type, params = {})
|
6
|
-
actions = self.edge action_type, params
|
7
|
-
actions.collect! do |action|
|
8
|
-
FbGraph2::OpenGraph::Action.new(action[:id], action).authenticate self.access_token
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
def og_action!(action_type, params = {})
|
13
|
-
action = self.post params, edge: action_type
|
14
|
-
FbGraph2::OpenGraph::Action.new(action[:id], params.merge(action)).authenticate self.access_token
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
module FbGraph2
|
2
|
-
class Edge
|
3
|
-
module OpenGraph
|
4
|
-
module Objects
|
5
|
-
def og_object!(object_type, params = {})
|
6
|
-
object = self.post params, edge: :objects, edge_scope: object_type
|
7
|
-
FbGraph2::OpenGraph::Object.new(object[:id], params.merge(object)).authenticate self.access_token
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
module FbGraph2
|
2
|
-
module OpenGraph
|
3
|
-
class Action < Node
|
4
|
-
include Edge::Comments
|
5
|
-
include Edge::Likes::LikeeContext
|
6
|
-
|
7
|
-
register_attributes(
|
8
|
-
raw: [:message, :no_feed_story, :ref, :type],
|
9
|
-
time: [:end_time, :publish_time, :start_time],
|
10
|
-
app: [:application],
|
11
|
-
profile: [:from],
|
12
|
-
custom: [:object]
|
13
|
-
)
|
14
|
-
|
15
|
-
def initialize(id, attributes = {})
|
16
|
-
super
|
17
|
-
if attributes.include?(:data) && attributes[:data].include?(:object)
|
18
|
-
_object_ = attributes[:data][:object]
|
19
|
-
self.object = OpenGraph::Object.new _object_[:id], _object_
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe FbGraph2::Edge::Applications do
|
4
|
-
context 'included in User' do
|
5
|
-
let(:me) { FbGraph2::User.me('token') }
|
6
|
-
|
7
|
-
describe '#applications' do
|
8
|
-
it 'should return an Array of FbGraph2::App' do
|
9
|
-
apps = mock_graph :get, 'me/applications/developer', 'user/applications', access_token: 'token' do
|
10
|
-
me.applications
|
11
|
-
end
|
12
|
-
apps.should be_instance_of FbGraph2::Edge
|
13
|
-
apps.should_not be_blank
|
14
|
-
apps.each do |app|
|
15
|
-
app.should be_instance_of FbGraph2::App
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe FbGraph2::Edge::Feed do
|
4
|
-
context 'included in User' do
|
5
|
-
describe '#home' do
|
6
|
-
let(:me) { FbGraph2::User.me('token') }
|
7
|
-
it 'should return an Array of FbGraph2::Post' do
|
8
|
-
posts = mock_graph :get, 'me/home', 'user/home', access_token: 'token' do
|
9
|
-
me.home
|
10
|
-
end
|
11
|
-
posts.should be_instance_of FbGraph2::Edge
|
12
|
-
posts.should_not be_blank
|
13
|
-
posts.each do |post|
|
14
|
-
post.should be_instance_of FbGraph2::Post
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe FbGraph2::Edge::Inbox do
|
4
|
-
context 'included in User' do
|
5
|
-
describe '#inbox' do
|
6
|
-
let(:me) { FbGraph2::User.me('token') }
|
7
|
-
it 'should return an Array of FbGraph2::Thread' do
|
8
|
-
threads = mock_graph :get, 'me/inbox', 'user/inbox', access_token: 'token' do
|
9
|
-
me.inbox
|
10
|
-
end
|
11
|
-
threads.should be_instance_of FbGraph2::Edge
|
12
|
-
threads.should_not be_blank
|
13
|
-
threads.each do |thread|
|
14
|
-
thread.should be_instance_of FbGraph2::Thread
|
15
|
-
end
|
16
|
-
threads.summary.should include unseen_count: 0, unread_count: 0, updated_time: Time.parse('2014-09-02T03:51:40+0000')
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe FbGraph2::Edge::Invited do
|
4
|
-
context 'included in Event' do
|
5
|
-
let(:event) { FbGraph2::Event.new('event_id').authenticate('token') }
|
6
|
-
|
7
|
-
describe '#invited' do
|
8
|
-
it 'should return an Array of FbGraph2::User' do
|
9
|
-
users = mock_graph :get, 'event_id/invited', 'event/invited', access_token: 'token' do
|
10
|
-
event.invited
|
11
|
-
end
|
12
|
-
users.should be_instance_of FbGraph2::Edge
|
13
|
-
users.should_not be_blank
|
14
|
-
users.each do |user|
|
15
|
-
user.should be_instance_of FbGraph2::User
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe FbGraph2::Edge::Links do
|
4
|
-
context 'included in User' do
|
5
|
-
let(:me) { FbGraph2::User.me('token') }
|
6
|
-
describe '#links' do
|
7
|
-
it 'should return an Array of FbGraph2::Post' do
|
8
|
-
posts = mock_graph :get, 'me/links', 'user/links', access_token: 'token' do
|
9
|
-
me.links
|
10
|
-
end
|
11
|
-
posts.should be_instance_of FbGraph2::Edge
|
12
|
-
posts.should_not be_blank
|
13
|
-
posts.each do |post|
|
14
|
-
post.should be_instance_of FbGraph2::Post
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe FbGraph2::Edge::Notifications do
|
4
|
-
context 'included in User' do
|
5
|
-
describe '#notifications' do
|
6
|
-
let(:me) { FbGraph2::User.me('token') }
|
7
|
-
it 'should return an Array of FbGraph2::Notification' do
|
8
|
-
notifications = mock_graph :get, 'me/notifications', 'user/notifications', access_token: 'token' do
|
9
|
-
me.notifications
|
10
|
-
end
|
11
|
-
notifications.should be_instance_of FbGraph2::Edge
|
12
|
-
notifications.should_not be_blank
|
13
|
-
notifications.each do |notification|
|
14
|
-
notification.should be_instance_of FbGraph2::Notification
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
describe '#notification!' do
|
20
|
-
let(:user) { FbGraph2::User.new('user_id') }
|
21
|
-
it 'should return true' do
|
22
|
-
mock_graph :post, 'user_id/notifications', 'success_true', access_token: 'app_token', params: {
|
23
|
-
href: 'href', template: 'template'
|
24
|
-
} do
|
25
|
-
user.authenticate('app_token').notification! href: 'href', template: 'template'
|
26
|
-
end.should be true
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
@@ -1,28 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe FbGraph2::Edge::OpenGraph::Actions do
|
4
|
-
context 'included in User' do
|
5
|
-
describe '#og_actions' do
|
6
|
-
let(:me) { FbGraph2::User.me('token') }
|
7
|
-
it 'should return an Array of FbGraph2::Post' do
|
8
|
-
actions = mock_graph :get, 'me/og.likes', 'user/og_actions_likes', access_token: 'token' do
|
9
|
-
me.og_actions 'og.likes'
|
10
|
-
end
|
11
|
-
actions.should be_instance_of FbGraph2::Edge
|
12
|
-
actions.should_not be_blank
|
13
|
-
actions.each do |action|
|
14
|
-
action.should be_instance_of FbGraph2::OpenGraph::Action
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
describe '#og_action!' do
|
20
|
-
let(:user) { FbGraph2::User.new('user_id') }
|
21
|
-
it 'should return a FbGraph2::Post' do
|
22
|
-
mock_graph :post, 'user_id/og.likes', 'success_with_id', access_token: 'app_token' do
|
23
|
-
user.authenticate('app_token').og_action! 'og.likes', object: 'https://github.com/nov/fb_graph2/'
|
24
|
-
end.should be_instance_of FbGraph2::OpenGraph::Action
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe FbGraph2::Edge::Outbox do
|
4
|
-
context 'included in User' do
|
5
|
-
describe '#outbox' do
|
6
|
-
let(:me) { FbGraph2::User.me('token') }
|
7
|
-
it 'should return an Array of FbGraph2::Thread' do
|
8
|
-
threads = mock_graph :get, 'me/outbox', 'user/outbox', access_token: 'token' do
|
9
|
-
me.outbox
|
10
|
-
end
|
11
|
-
threads.should be_instance_of FbGraph2::Edge
|
12
|
-
threads.should_not be_blank
|
13
|
-
threads.each do |thread|
|
14
|
-
thread.should be_instance_of FbGraph2::Thread
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe FbGraph2::Edge::Statuses do
|
4
|
-
context 'included in User' do
|
5
|
-
let(:me) { FbGraph2::User.me('token') }
|
6
|
-
describe '#statuses' do
|
7
|
-
it 'should return an Array of FbGraph2::Post' do
|
8
|
-
posts = mock_graph :get, 'me/statuses', 'user/statuses', access_token: 'token' do
|
9
|
-
me.statuses
|
10
|
-
end
|
11
|
-
posts.should be_instance_of FbGraph2::Edge
|
12
|
-
posts.should_not be_blank
|
13
|
-
posts.each do |post|
|
14
|
-
post.should be_instance_of FbGraph2::Post
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"data": [{
|
3
|
-
"name": "Akira Otaishi",
|
4
|
-
"rsvp_status": "attending",
|
5
|
-
"id": "553375548107883"
|
6
|
-
}, {
|
7
|
-
"name": "Shin-ichiro Kagaya",
|
8
|
-
"rsvp_status": "attending",
|
9
|
-
"id": "241546062702044"
|
10
|
-
}],
|
11
|
-
"paging": {
|
12
|
-
"cursors": {
|
13
|
-
"after": "TVRBd01EQXdNRFl6TWpjME1qSTBPakUwTVRBMU1UQTJNREE2TVRZMU1EZzBPRGsyT0RRNE5UZ3g=",
|
14
|
-
"before": "TVRBd01EQXpNRFl6TWpjM01qTXhPakUwTVRBMU1UQTJNREE2TVRjMk9UQTRNVE0xTmpnM09UWXg="
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"data": [{
|
3
|
-
"name": "gem sample",
|
4
|
-
"namespace": "gem-sample",
|
5
|
-
"id": "210798282372757"
|
6
|
-
}, {
|
7
|
-
"name": "Localhost",
|
8
|
-
"id": "158245434257042"
|
9
|
-
}, {
|
10
|
-
"name": "OAuth.jp",
|
11
|
-
"id": "126213067419995"
|
12
|
-
}],
|
13
|
-
"paging": {
|
14
|
-
"next": "https://graph.facebook.com/v2.1/579612276/applications?type=developer&limit=25&offset=25&__after_id=***"
|
15
|
-
}
|
16
|
-
}
|
@@ -1,61 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"data": [{
|
3
|
-
"id": "114870808553071_759907394049406",
|
4
|
-
"from": {
|
5
|
-
"category": "Computers/internet website",
|
6
|
-
"name": "TechCrunch Japan",
|
7
|
-
"id": "114870808553071"
|
8
|
-
},
|
9
|
-
"story": "TechCrunch Japan shared a link.",
|
10
|
-
"story_tags": {
|
11
|
-
"0": [{
|
12
|
-
"id": "114870808553071",
|
13
|
-
"name": "TechCrunch Japan",
|
14
|
-
"offset": 0,
|
15
|
-
"length": 16,
|
16
|
-
"type": "page"
|
17
|
-
}]
|
18
|
-
},
|
19
|
-
"picture": "https://fbexternal-a.akamaihd.net/safe_image.php?d=AQCP3uH6kEoLnPsL&w=154&h=154&url=http%3A%2F%2Ftechcrunchjp.files.wordpress.com%2F2014%2F06%2F140603modiva1.jpg%3Fw%3D1024%26h%3D768",
|
20
|
-
"link": "http://dlvr.it/5sP8LX",
|
21
|
-
"name": "MOVIDA JAPANがデモデイを開催して13社が登壇‒‒個人的にはEigooo!に期待",
|
22
|
-
"caption": "jp.techcrunch.com",
|
23
|
-
"description": "MOVIDA JAPANは6月3日、同社のシードアクセラレーションプログラムの成果を発表する「MOVIDA JAPAN DemoDay 5th」を開催した。今回登壇したスタートアップは13社。まずは登壇したスタートアップとそのサービス概要を紹介していく。…",
|
24
|
-
"icon": "https://fbstatic-a.akamaihd.net/rsrc.php/v2/y5/r/sXJx2UP7quc.png",
|
25
|
-
"actions": [{
|
26
|
-
"name": "Comment",
|
27
|
-
"link": "https://www.facebook.com/114870808553071/posts/759907394049406"
|
28
|
-
}, {
|
29
|
-
"name": "Like",
|
30
|
-
"link": "https://www.facebook.com/114870808553071/posts/759907394049406"
|
31
|
-
}],
|
32
|
-
"privacy": {
|
33
|
-
"value": ""
|
34
|
-
},
|
35
|
-
"type": "link",
|
36
|
-
"status_type": "shared_story",
|
37
|
-
"application": {
|
38
|
-
"name": "dlvr.it",
|
39
|
-
"namespace": "dlvr_it",
|
40
|
-
"id": "232775914688"
|
41
|
-
},
|
42
|
-
"created_time": "2014-06-03T08:20:01+0000",
|
43
|
-
"updated_time": "2014-06-03T08:20:01+0000",
|
44
|
-
"likes": {
|
45
|
-
"data": [{
|
46
|
-
"id": "10203763563950799",
|
47
|
-
"name": "Takuya Kawai"
|
48
|
-
}],
|
49
|
-
"paging": {
|
50
|
-
"cursors": {
|
51
|
-
"after": "MTAyMDM3NjM1NjM5NTA3OTk=",
|
52
|
-
"before": "MTAyMDM3NjM1NjM5NTA3OTk="
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}],
|
57
|
-
"paging": {
|
58
|
-
"previous": "https://graph.facebook.com/v2.0/579612276/home?limit=25&since=1401784697",
|
59
|
-
"next": "https://graph.facebook.com/v2.0/579612276/home?limit=25&until=1401773525"
|
60
|
-
}
|
61
|
-
}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"data": [{
|
3
|
-
"id": "741737742539677",
|
4
|
-
"to": {
|
5
|
-
"data": [{
|
6
|
-
"id": "579612276",
|
7
|
-
"name": "Nov Matake"
|
8
|
-
}, {
|
9
|
-
"id": "10152167763779825",
|
10
|
-
"name": "Hayashi Tatsuya"
|
11
|
-
}]
|
12
|
-
},
|
13
|
-
"updated_time": "2014-09-02T03:51:40+0000",
|
14
|
-
"unread": 0,
|
15
|
-
"unseen": 0,
|
16
|
-
"comments": {
|
17
|
-
"data": [{
|
18
|
-
"id": "741737742539677_1409625688",
|
19
|
-
"from": {
|
20
|
-
"id": "579612276",
|
21
|
-
"name": "Nov Matake"
|
22
|
-
},
|
23
|
-
"message": "ヒゲキョクチョ",
|
24
|
-
"created_time": "2014-09-02T02:41:28+0000"
|
25
|
-
}],
|
26
|
-
"paging": {
|
27
|
-
"previous": "https://graph.facebook.com/v2.1/741737742539677/comments?limit=25&since=1409629900&__paging_token=***",
|
28
|
-
"next": "https://graph.facebook.com/v2.1/741737742539677/comments?limit=25&until=1409625439&__paging_token=***"
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}],
|
32
|
-
"paging": {
|
33
|
-
"previous": "https://graph.facebook.com/v2.1/579612276/inbox?limit=25&since=1409629900&__paging_token=***",
|
34
|
-
"next": "https://graph.facebook.com/v2.1/579612276/inbox?limit=25&until=1403524175&__paging_token=***"
|
35
|
-
},
|
36
|
-
"summary": {
|
37
|
-
"unseen_count": 0,
|
38
|
-
"unread_count": 0,
|
39
|
-
"updated_time": "2014-09-02T03:51:40+0000"
|
40
|
-
}
|
41
|
-
}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"data": [{
|
3
|
-
"id": "10152480998332277",
|
4
|
-
"from": {
|
5
|
-
"id": "579612276",
|
6
|
-
"name": "Nov Matake"
|
7
|
-
},
|
8
|
-
"picture": "https://fbexternal-a.akamaihd.net/safe_image.php?d=AQCtEdPdezKIoUxo&w=154&h=154&url=http%3A%2F%2Fi.yimg.jp%2Fi%2Fdocs%2Frelease%2Ffbicon.jpg",
|
9
|
-
"privacy": {
|
10
|
-
"description": "Your friends",
|
11
|
-
"value": "ALL_FRIENDS",
|
12
|
-
"allow": "",
|
13
|
-
"deny": "",
|
14
|
-
"networks": "",
|
15
|
-
"friends": ""
|
16
|
-
},
|
17
|
-
"link": "http://docs.yahoo.co.jp/docs/info/terms/chapter1.html#cf2nd",
|
18
|
-
"name": "ヤフー株式会社 - サービス利用規約 第1編 基本ガイドライン",
|
19
|
-
"description": "Yahoo! JAPANのサービス利用規約、第1編 基本ガイドラインは当社のサービスをご利用になるすべての方に共通して適用されます。",
|
20
|
-
"icon": "https://fbstatic-a.akamaihd.net/rsrc.php/v2/yD/r/aS8ecmYRys0.gif",
|
21
|
-
"created_time": "2014-06-02T09:34:13+0000",
|
22
|
-
"likes": {
|
23
|
-
"data": [{
|
24
|
-
"id": "689134294485152",
|
25
|
-
"name": "Shunya Iriki"
|
26
|
-
}, {
|
27
|
-
"id": "1246364330",
|
28
|
-
"name": "Kaoru Maeda"
|
29
|
-
}],
|
30
|
-
"paging": {
|
31
|
-
"cursors": {
|
32
|
-
"after": "MTI0NjM2NDMzMA==",
|
33
|
-
"before": "Njg5MTM0Mjk0NDg1MTUy"
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}],
|
38
|
-
"paging": {
|
39
|
-
"cursors": {
|
40
|
-
"after": "MTAxNTI0NDIwNzU4MzIyNzc=",
|
41
|
-
"before": "MTAxNTI0ODA5OTgzMzIyNzc="
|
42
|
-
},
|
43
|
-
"next": "https://graph.facebook.com/v2.0/579612276/links?limit=25&after=MTAxNTI0NDIwNzU4MzIyNzc="
|
44
|
-
}
|
45
|
-
}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"data": [{
|
3
|
-
"id": "notif_579612276_373456430",
|
4
|
-
"from": {
|
5
|
-
"id": "583017165143721",
|
6
|
-
"name": "Akira Otaishi"
|
7
|
-
},
|
8
|
-
"to": {
|
9
|
-
"id": "579612276",
|
10
|
-
"name": "Nov Matake"
|
11
|
-
},
|
12
|
-
"created_time": "2014-08-27T18:48:07+0000",
|
13
|
-
"updated_time": "2014-08-27T18:48:07+0000",
|
14
|
-
"title": "Akira Otaishi invited you to his event あんしんかんcafe vol.4 ~ネット選挙をめぐるビジネス&セキュリティ~.",
|
15
|
-
"link": "http://www.facebook.com/events/339815099528481/",
|
16
|
-
"application": {
|
17
|
-
"name": "Events",
|
18
|
-
"id": "141157392619610"
|
19
|
-
},
|
20
|
-
"unread": 1
|
21
|
-
}, {
|
22
|
-
"id": "notif_579612276_373364015",
|
23
|
-
"from": {
|
24
|
-
"id": "631020523647805",
|
25
|
-
"name": "Shota Kawaminami"
|
26
|
-
},
|
27
|
-
"to": {
|
28
|
-
"id": "579612276",
|
29
|
-
"name": "Nov Matake"
|
30
|
-
},
|
31
|
-
"created_time": "2014-08-27T05:28:07+0000",
|
32
|
-
"updated_time": "2014-08-27T05:28:07+0000",
|
33
|
-
"title": "Shota Kawaminami shared your link.",
|
34
|
-
"link": "http://www.facebook.com/shota.kawaminami/posts/700333850049805",
|
35
|
-
"application": {
|
36
|
-
"name": "Links",
|
37
|
-
"id": "2309869772"
|
38
|
-
},
|
39
|
-
"unread": 1
|
40
|
-
}],
|
41
|
-
"paging": {
|
42
|
-
"previous": "https://graph.facebook.com/v2.1/579612276/notifications?limit=5000&since=1409272999&__paging_token=***",
|
43
|
-
"next": "https://graph.facebook.com/v2.1/579612276/notifications?limit=5000&until=1408919679&__paging_token=***"
|
44
|
-
}
|
45
|
-
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"data": [
|
3
|
-
{
|
4
|
-
"application": {
|
5
|
-
"name": "Test Application",
|
6
|
-
"namespace": "testapp",
|
7
|
-
"id": "495624957249579"
|
8
|
-
},
|
9
|
-
"comments": {
|
10
|
-
"data": [
|
11
|
-
],
|
12
|
-
"can_comment": true,
|
13
|
-
"comment_order": "chronological",
|
14
|
-
"count": 0
|
15
|
-
},
|
16
|
-
"from": {
|
17
|
-
"id": "0815",
|
18
|
-
"name": "John Doe"
|
19
|
-
},
|
20
|
-
"likes": {
|
21
|
-
"data": [
|
22
|
-
],
|
23
|
-
"can_like": true,
|
24
|
-
"count": 0,
|
25
|
-
"user_likes": false
|
26
|
-
},
|
27
|
-
"no_feed_story": false,
|
28
|
-
"publish_time": "2015-04-06T11:53:54+0000",
|
29
|
-
"ref": ".hDGIIZ34.like",
|
30
|
-
"start_time": "2015-04-06T11:53:54+0000",
|
31
|
-
"type": "og.likes",
|
32
|
-
"data": {
|
33
|
-
"object": {
|
34
|
-
"id": "2893972379237",
|
35
|
-
"title": "The awesome test site",
|
36
|
-
"type": "website",
|
37
|
-
"url": "http://example.com"
|
38
|
-
}
|
39
|
-
},
|
40
|
-
"id": "4953745973459"
|
41
|
-
}
|
42
|
-
],
|
43
|
-
"paging": {
|
44
|
-
"cursors": {
|
45
|
-
"before": "MTAzsdfsdfzU2OTM5NDYyNQ==",
|
46
|
-
"after": "NDk2Mz3453czNDergczNzIzNjQw"
|
47
|
-
}
|
48
|
-
}
|
49
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"data": [{
|
3
|
-
"id": "741737742539677",
|
4
|
-
"to": {
|
5
|
-
"data": [{
|
6
|
-
"id": "579612276",
|
7
|
-
"name": "Nov Matake"
|
8
|
-
}, {
|
9
|
-
"id": "10152167763779825",
|
10
|
-
"name": "Hayashi Tatsuya"
|
11
|
-
}]
|
12
|
-
},
|
13
|
-
"updated_time": "2014-09-02T03:51:40+0000",
|
14
|
-
"unread": 0,
|
15
|
-
"unseen": 0,
|
16
|
-
"comments": {
|
17
|
-
"data": [{
|
18
|
-
"id": "741737742539677_1409625688",
|
19
|
-
"from": {
|
20
|
-
"id": "579612276",
|
21
|
-
"name": "Nov Matake"
|
22
|
-
},
|
23
|
-
"message": "ヒゲキョクチョ",
|
24
|
-
"created_time": "2014-09-02T02:41:28+0000"
|
25
|
-
}],
|
26
|
-
"paging": {
|
27
|
-
"previous": "https://graph.facebook.com/v2.1/741737742539677/comments?limit=25&since=1409629900&__paging_token=***",
|
28
|
-
"next": "https://graph.facebook.com/v2.1/741737742539677/comments?limit=25&until=1409625439&__paging_token=***"
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}],
|
32
|
-
"paging": {
|
33
|
-
"previous": "https://graph.facebook.com/v2.1/579612276/outbox?limit=25&since=1409629900&__paging_token=***",
|
34
|
-
"next": "https://graph.facebook.com/v2.1/579612276/outbox?limit=25&until=1403014440&__paging_token=***"
|
35
|
-
}
|
36
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"data": [{
|
3
|
-
"id": "10152483324277277",
|
4
|
-
"from": {
|
5
|
-
"id": "579612276",
|
6
|
-
"name": "Nov Matake"
|
7
|
-
},
|
8
|
-
"message": "Nov Matake test",
|
9
|
-
"updated_time": "2014-06-03T06:27:20+0000"
|
10
|
-
}],
|
11
|
-
"paging": {
|
12
|
-
"previous": "https://graph.facebook.com/v2.0/579612276/statuses?limit=25&since=1401776840&__paging_token=***",
|
13
|
-
"next": "https://graph.facebook.com/v2.0/579612276/statuses?limit=25&until=1384770778&__paging_token=***"
|
14
|
-
}
|
15
|
-
}
|