I am using sferiks gem https://github.com/sferik/twitter
I want to instantiate multiple accounts from within a loop.
This is what I thought would work...
twitter_accounts.each do |twitter_account|
username = twitter_account['username']
token…
I'm trying to get Twitter notifications using Twitter gem.
I'm using the method notifications from Twitter::User but the value is always false even though I receive emails from Twitter about those new notifications :
twitter =…
I'm trying to get my app to work with the twitter gem, but I can't seem to perform the authorization protocol using OAuth2. I'd like to know if there is a sample app available so I can see what I'm doing wrong.
Thanks
I am using the twitter gem to update a users status. However, I also need to know the ID of the recently created status so I can delete it later on. Any guidance here?
My application need continous fetching of data from Twitter. I used twitter gem to access Twitter API. Have used #rufus-scheduler to hit the Twitter API after every half an hour, but it is not working, as some time it is blocked by the Twitter API…
I'm using twitter + devise + omniauth + omniauth-twitter to autheticate users via twitter api. From my site I reach, twitter login. I give my twitter credentials. After that I'm redirected to callback url. But the response says the authetication…
When using the Twitter gem. This works fine when I'm running it locally, but once I deploy it to Heroku, it's clear the the user object is coming back Nil.
<% twit_search(search_val, coeff) do |r| %>
Is there an event loop for Twitter4R where when a user mentions the bot's handle, it will notify the bot?
I have tried to make it work with checking client.mentions_timeline every 5 seconds to see if there are new tweets that are mentioning the…
I have the following code, using the twitter gem in ruby on rails. It does not return the correct time for tweets created, although I have set my time zone in application.rb and have also set it here. It returns three hours ahead of the time the…
I am trying to get the x-rate-limit-remaining for a specific user using Twitter Gem. Here is my code :
@client = Twitter::REST::Client.new do |config|
config.consumer_key = "KEY"
config.consumer_secret = "SECRET"
config.access_token…
I want to get twitter analytics for tweets I posted using twitter gem in my ruby on rails application. Is there any possibility to achieve this ? I want to show tweet impression on my application,please let me know if there is any possible way .
I need to access the video views count of a video posted to Twitter account through Twitter API console.
Is it possible to get the video views count?
I am using Twitter gem in rails to acces the metircs of posts done in Twitter.
Please suggest!
I have been using twitter gem in ruby to fetch various attributes of a tweet. I have been successful in fetching all the attributes. However when i try to fetch retweet, it always gives me the value of 0.
require 'twitter'
geolocate =…
I wanted to know if there is any method known as Twitter::unfollow to unfollow a person using Twitter Ruby API.
I have read the documentation provided on Github but it doesn't seem to help me with this issue.
Im using the twitter gem for rails to try and show 3 statuses from my twitter feed. I'm doing everything as per the documentation but its not displaying anything in my view.
In my application controller I've got this down:
client =…