I am using twitter gem 4.8.1 http://rdoc.info/gems/twitter
It will not send stuff locally for some reason (all credentials the same and set up) saying "unable to verify your credentials" ... when the code is pushed to Heroku though it tweets with no problem.
Any reason for this? Would be nice to test out stuff locally with the gem.
Thanks!
Usually sites like Twitter or Facebook require that you register the domain you will use when publishing. If you registered www.mydomain.com with Twitter, that is the only domain it will accept connections from.
So you will need your Tweets to come from the website you entered here:
https://dev.twitter.com/apps/new
Related
I've implemented a simple OAuth2 for Authentication login system that is working reliably on my dev server using a localhost redirect uri.
When testing from a production server, with updated redirect uri, the Google account permission interface opens up for the user logging in. After authorizing account access, the browser just hangs on "Waiting for accounts.google.com..." and doesn't go anywhere. At this point, I can see that the application has been granted access to my profile by viewing account permissions on my Google account dashboard.
If I change the redirect uri to an invalid one, I do get the invalid redirect uri Google error message back, so it looks like the redirection cannot reach my redirect uri. I can reach the reditect uri directly through a browser though. Any pointers?
Had a similar problem trying to create a "Login with Google" App. Since this was my first Google App, and I was also just first using the social networking setups in the software package which I bought BEFORE the Google API had changed, I was at a complete loss as where to start.
It finally dawned on me to redirect Google (via the App settings in the developer console) to a test web page on my site (instead of the page defined by the software package,) and all worked as expected, meaning Google redirected properly to the test page (which was actually just my root index.php). This told me that because the Google API had changed, my software package functionality was obsolete, and I needed to explore the code there.
I am displaying the contents of a folder in my AngularJS front-end (with Rails back-end). I want to watch the folder for any changes, such as new file, deleted file.
I obviously want to test the app on my localhost before deploying to a server, but I am not able to add localhost as an allowed domain in the apis console.
How can I set-up file.watch for testing?
Thanks
It's impossible to test push notifications without a verified domain, it's why we cant push confidential information to untrusted endpoints. I'd recommend you to buy/use a test domain/sub-domain for testing.
there's portly.co
worke's really nice , you can verify the domain with google site verification, and add it as a push domain.
I want to be able to show a user which of their friends have signed up for the app as soon as they come to the site, before they are authorized, as long as they are logged into Facebook in the current browser.
Is this request possible? I have definitely seen this sort of thing, but I am not sure if this is universally available. I recall seeing some info on this topic on Stackoverflow, but cannot find it at the moment.
It's a Ruby on Rails app and I have been using Koala to make the authorized requests.
Thanks.
I'm using devise for authentication in my Rails application. I have a WordPress installation for the blog portion of the project (because I need several WP plugins).
Is it possible to integrate the user authentication from the RoR application into the blog, so that when someone logs into the app, then goes to the blog, their signed it status remains and shows up.
If that's possible, it should also be possible for them to log in while viewing the blog and then go straight to their page when they go to the app, right?
You have to store session information about WP and Rails session in one storage and check WP auth cookies on Rails application.
I have configured Openfire 3.6.4 with Kraken plugin for accessing GTalk, Yahoo, Facebook and MSN buddies. All are working fine except for Facebook.
I tried every versions of Kraken plugins which are available. In some cases, Facebook transport is showing means user gets login in Facebook but it is not getting buddy list. In other case, the transport doesn't get registered means user don't get logged in. (Credential not valid error)
I also checked Kraken Developer forum, but I didn't get exact solution.
How can I overcome this issue?
Here is one possibility for some people. When you log into Openfire with Kraken plug-in, Facebook requires a vanity name for login, not your email address. So when you are logged into the Facebook site in the upper right corner, click on Account > Account Settings > Username and you will see:
http://www.facebook.com/ (and something after that)
e.g. john.doe1. This is the user name you use to log in.
Download latest source of Kraken from its repository. and Build it. This will work for you.
For reference: http://kraken.blathersource.org/node/9