General Category > OpenLase Discussion

Level nearly completed ...

<< < (2/6) > >>

Macpod:
I have made the bare minimum changes needed to get this running again:

https://github.com/macpod/openlase/blob/master/examples/tweet.py

In order to use this you will need to make a Twitter app:
https://apps.twitter.com/app/new

Once you create this app you will need to modify the source to include your designated API Key and API Secret.

Since tweet.py was first written by marcan it seems twitter.com has exposed a streaming api. This should be used if a new version of tweet.py were to be made.

Fabrice:
Hi MacPod,
That was it !
it now compiles without error , the goal is very near but please let me ask you one lasr request please ?
The execution of

"python twitter.py test"

gives back the follwing error message

'Api' object has no attribute 'search' Fetch error

I do not have any idea about what that means , it may be a mis understanding of the twitter.py program ...

Really sorry to abuse your kindness MacPod,

Have a great week end


 

Macpod:
Sounds like it is using the python-twitter api vs the twitter api. You should uninstall the python-twitter api.

Fabrice:
"python-twitter" has been uninstalled but i still have the same message error when executing

python tweet.py test

Do you still have an idea MacPod ?  :-\

Macpod:
What version of the tweet api do you have installed?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version