Explorar el Código

[Feature] Neuron Twitterfix

monf hace 8 años
padre
commit
bb9218d852
Se han modificado 2 ficheros con 2 adiciones y 3 borrados
  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
         }