We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8754a40 commit 32eadd5Copy full SHA for 32eadd5
.gitignore
@@ -1,2 +1,2 @@
1
.rbenv-vars
2
-/charts
+attachment.jpg
tweet-client.rb
@@ -10,12 +10,12 @@
10
config.access_token_secret = ENV['TWITTER_ACCESS_SECRET']
11
end
12
13
-image_kit = IMGKit.new('http://localhost:3000/charts/2016-08-20?rank=2',
+image_kit = IMGKit.new('https://ph-tweet-server.herokuapp.com/charts/2016-08-21?rank=2',
14
zoom: 2, width: 2048, height: 1024)
15
16
puts "Saving the preview..."
17
-img = image_kit.to_file('charts/attachment.jpg')
+img = image_kit.to_file('attachment.jpg')
18
19
-client.update_with_media('Image upload test', img)
+client.update_with_media('👍👏', img)
20
21
puts "Done!"
0 commit comments