Преглед на файлове

[Feature] Neuron Twitterfix

monf преди 8 години
родител
ревизия
bb9218d852
променени са 2 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 1 1
      neurons/twitter/README.md
  2. 1 2
      neurons/twitter/Twitter.py

+ 1 - 1
neurons/twitter/README.md

@@ -46,6 +46,6 @@ In order to be able to post on Twitter, you need to grant access of your applica
 2. Let's create your app [apps.twitter.com](apps.twitter.com)
 3. click on the button "Create New App"
 4. Fill in your application details
-5. Create your acess token (to post a tweet, you need at least "Read and Write" access)
+5. Create your access token (to post a tweet, you need at least "Read and Write" access)
 6. Get your consumer_key, consumer_secret, access_token_key and access_token_secret from the tab "Key and access token" (Keep them secret !)
 7. Post your first message with this neuron !

+ 1 - 2
neurons/twitter/Twitter.py

@@ -30,8 +30,7 @@ class Twitter(NeuronModule):
                           access_token_key=access_token_key,
                           access_token_secret=access_token_secret)
 
-        # status = api.PostUpdate(tweet)
-        status = "test"
+        status = api.PostUpdate(tweet)
         message = {
             "tweet" : status
         }