like_bomb 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +19 -16
- data/lib/{like_bomb/like_bomb.rb → like_bomb.rb} +0 -0
- metadata +10 -17
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1410d47de28fb8f1d7022204936dd6d3d91e4810
|
4
|
+
data.tar.gz: 4768cc5b04d636b8e2a37fd8509089bdfb9e3c81
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4a6abcb3da2df15de5e175297554ec123739372fd57218ed8c260c85b41a094e685509c90e3e4fd922d0b9667fadcb067d268445f3817367ffd84d092ac86e15
|
7
|
+
data.tar.gz: 173c003b48b099e4cc97dc6bd95f70e48d180f75f1c5f7316f7fdf14e95f9b662d5d4ce8eadd0564c61d229ffd201edf696a7ea91f07deadb0dd5e72ad53f142
|
data/README.md
CHANGED
@@ -31,12 +31,11 @@ exact permissions the application may not work!
|
|
31
31
|
|
32
32
|
**My Permissions, gem will work flawlessly with these settings:**
|
33
33
|
|
34
|
-
![User Data Permissions](
|
34
|
+
![User Data Permissions](http://i47.tinypic.com/fvi448.png "User Data Permissions")
|
35
35
|
|
36
|
-
![Friend Data Permissions](
|
37
|
-
|
38
|
-
![Extended Permissions](three.png "Extended Permissions")
|
36
|
+
![Friend Data Permissions](http://i45.tinypic.com/2yvmkk5.png "Friend Data Permissions")
|
39
37
|
|
38
|
+
![Extended Permissions](http://i49.tinypic.com/24xi97d.png "Extended Permissions")
|
40
39
|
|
41
40
|
**NOTE: Your access token may expire after a set amount of time which is variable
|
42
41
|
by Facebook.**
|
@@ -51,21 +50,25 @@ With your valid API key in hand you are ready to do some damage!
|
|
51
50
|
|
52
51
|
**Post Likes on statuses**
|
53
52
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
53
|
+
```ruby
|
54
|
+
# This will go to your first friend from the Graph API and will like
|
55
|
+
# all of his/her statuses
|
56
|
+
lb = LikeBomb.new("<VALID_KEY>")
|
57
|
+
friend_hash = lb.get_friends
|
58
|
+
unliked_statuses = lb.get_statuses(friend_hash.first)[:not_liked] # Get not liked statuses
|
59
|
+
lb.post_likes(unliked_statuses)
|
60
|
+
```
|
60
61
|
|
61
62
|
**Post 'Cool!'s on photos**
|
62
63
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
64
|
+
```ruby
|
65
|
+
# This will go to your last friend from the Graph API and will comment
|
66
|
+
# 'Cool!'' on all of his/her photos
|
67
|
+
lb = LikeBomb.new("<VALID_KEY>")
|
68
|
+
friend_hash = lb.get_friends
|
69
|
+
uncooled_photos = lb.get_photos(friend_hash.last)[:not_cooled]
|
70
|
+
lb.post_cools(uncooled_photos)
|
71
|
+
```
|
69
72
|
|
70
73
|
## License
|
71
74
|
|
File without changes
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: like_bomb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Maxwell Elliott
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-08-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: typhoeus
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - '='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - '='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: oj
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - '='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,12 +34,11 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - '='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 1.3.0
|
46
|
-
description:
|
41
|
+
description: "Likebomb is a quick and efficent way to annoy your Facebook friends
|
47
42
|
by liking or commenting on every status and/or photo \n belonging to them. This
|
48
43
|
gem is a great example of the possiblites with the new Facebook Graph API."
|
49
44
|
email: elliott.432@buckeyemail.osu.edu
|
@@ -52,36 +47,34 @@ extensions: []
|
|
52
47
|
extra_rdoc_files:
|
53
48
|
- README.md
|
54
49
|
files:
|
55
|
-
- lib/like_bomb
|
50
|
+
- lib/like_bomb.rb
|
56
51
|
- README.md
|
57
52
|
- test/like_bomb_test.rb
|
58
53
|
homepage: http://rubygems.org/gems/like_bomb
|
59
54
|
licenses:
|
60
55
|
- MIT
|
61
|
-
|
56
|
+
metadata: {}
|
57
|
+
post_install_message: Thanks for using LikeBomb! Have fun and annoy some friends!
|
62
58
|
rdoc_options: []
|
63
59
|
require_paths:
|
64
60
|
- lib
|
65
61
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
62
|
requirements:
|
68
|
-
- -
|
63
|
+
- - '>='
|
69
64
|
- !ruby/object:Gem::Version
|
70
65
|
version: 1.8.7
|
71
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
67
|
requirements:
|
74
|
-
- -
|
68
|
+
- - '>='
|
75
69
|
- !ruby/object:Gem::Version
|
76
70
|
version: '0'
|
77
71
|
requirements:
|
78
72
|
- A Facebook account
|
79
73
|
- A Facebook Developer Graph API key
|
80
74
|
rubyforge_project:
|
81
|
-
rubygems_version:
|
75
|
+
rubygems_version: 2.0.3
|
82
76
|
signing_key:
|
83
|
-
specification_version:
|
77
|
+
specification_version: 4
|
84
78
|
summary: Lets annoy some Facebook friends
|
85
79
|
test_files:
|
86
80
|
- test/like_bomb_test.rb
|
87
|
-
has_rdoc:
|