-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twitter feature enhanced #130
Conversation
windows/activities.md
Outdated
@@ -80,7 +80,7 @@ List of the things that B.E.N.J.I. can do: | |||
* Create a file(txt, docx, pptx,xlsx, vsdx and rtf supported) | |||
* Podcast | |||
* Calculator | |||
* Get top 10 tweets | |||
* Twitter(get top 10 tweets, get friends) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get friend's tweets, or get follower list
Twitter does have a concept of friends, only follower and following. 😛
windows/activities.md
Outdated
|
||
* "***get tweets***" Get latest 10 tweets from timeline. For this an app is to be registered at https://apps.twitter.com/ (if confused, have a look at https://spring.io/guides/gs/register-twitter-app/). A new file named "twitterCredentials.py" is to be made in the windows folder. Save the consumer key, consumer secret, access token, access token secret with the names consumer_key, consumer_secret, access_token, access_secret repectively in the "twitterCredentials.py". Speak/type "get tweets" and top 10 tweets will be shown, also when and by whom it was created. | ||
* Get latest 10 tweets done by the user. Speak/type "get my tweets" and top 10 tweets done by the user(you) will be shown with the time when it was tweeted | ||
* You can get a list of your friends(everyone you follow) from twitter by saying "get twitter friends" or "get my twitter friends" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again using the term friends with Twitter is a misnomer, maybe we should do You can get a list of everyone you follow from twitter by saying "get people I follow on twitter"
windows/benji.py
Outdated
print("By ", status.user.screen_name, " at ", status.user.created_at) | ||
|
||
#Get friends from twitter | ||
elif link[-2] == "twitter" and link[-1] == "friends": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume we will have to change this w.r.t following
and not friends
@sara-02 have made the suggested changes :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hmangukia Thanks, we are good now :)
@sara-02 I am sure you have properly reviewed the PR. Should we merge it? 😄 |
The following enhancements are made:
Say "get my tweets" to get top 10 tweets made by the user.
Say "get my twitter friends" or "get twitter friends" to get a list of everyone you follow on twitter.