I read the documentation on https://www.firebase.com/docs/ios/guide/login/twitter.html. I downloaded and added the two files as it says in the documentation. I also imported Accounts at the beginning of the files, so Xcode builds successfully. Then I copied the exact code in the documentation to my twitterLogin IBAction, and set my Twitter API Key and Firebase base reference.
The problem is that when I click on my twitter login button, nothing happens. (It used to say no twitter accounts, then I set my account in the Settings.) I even put print statements in any if-else case but none of them prints. So is there any suggestions for making Twitter login work? I don't think Firebase is missing anything. But please give some suggestions on how to figure out the issue at least.
Check to make sure that you have Enabled Twitter Authentication in your Firebase Dashboard, and that the apiKey in your project matches the one that is in your Dashboard.
Hope that helps :)
I solved the issue. The 'funny' solution was to add an equal sign to the condition
if accounts.count > 1
For anyone who is not lucky enough to notice that the sample code in the Firebase documentation is weirdly working only for users that have 'more' than 1 twitter account signed in the device, I believe this answer would help to save some time.
I also think that this sample code is misleading.(may be something that shouldn't be the default case in the sample code)
I have recently found some pretty good stuff on exactly this topic may it can help someone:
https://medium.com/reversebits/twitter-authentication-in-firebase-for-android-51d1460dc6a9#.strjpm90r
Related
I'm writing a Siri Shortcut to export notes from Evernote to another app. But I'm having a devil of a time figuring out how to do it. When I invoke the shortcut from the iOS share sheet, it sends a link like this to Shortcuts: https://www.evernote.com/shard/s120/sh/3e0ec717-211f-42a0-0327-f64a2337ae8f/bb4a73c5eb5c46d745fe2cda1b700570 . The problem is, the page that that link goes to seems unscrapeable. I can't figure out how to get any information out of it other than the Last Updated date.
The Evernote Get Notes action is no help, because there's no way to pass any useful information to it from that link, as far as I can tell.
Shortcuts supports APIs, but I can't see how to use that to get the information I want without building an app. Maybe there's a way, but I can't see it.
Does anyone know how to accomplish this? Please help!
I've searched all the internet, but found no similar resolved issues.
So, I'm playing around with Cloud Firestore and my issue is simply that I can't add anything to Firestore from console, I click on "Add collection", enter name, then generate random id for new document, and add a single string to it. After clicking "Save", nothing is added and screen still says "No data at this location yet". I tried reloading, logging off and in again, adding only empty collection, etc. Anyone knows what could be wrong? Maybe that's some bug because Firestore is in beta?
I was facing the similar issue, after a lot of research, I found out that there is an issue with chrome browser. Just open the same console with firefox browser, you will be able to do all the operations :)
I had the same issue. Try to go to the collection that you have created directly via parent path.
EDIT:
Sorry, I was wrong. Problem still occurs. Found out antivirus blocks these operations. I'm using kaspersky
Similar problem here. It works after I enable data collection on Kaspersky.
If there is no document in the collection, the collection disappears. The process is fairly fail-proof. You can enter 1 as the document name and 1 as the string field leaving the value blank and it will still write.
Try adding a different data type. Also, try and use one of the SDKs, the web (browser) or admin (Node.js) SDK to write (.set) data in a document firebase.firestore().collection("test").doc().set({"name":"john"}); with the test/open security rules in place.
NOTE:
Firebase does not accept undefined values by default.
Check your values: Having undefined values could well be the reason.
Following Xavi's advice, I found out that it worked on Safari, I then went back to the Chrome Firebase console and logged out of all accounts and re-logged in with the account I have Firebase access to, and I am now able to read and write from the console and also from my React app.
I wish to submit couple of images to Facebook using my app and invite my friends to vote on it for a specific time interval. My question is -
Does graphAPI support this.
Can I integrate this with my backend system so that I can get the count of likes/dislikes against each image.
Would appreciate support on this.
Previous solution is deprecated and I couldn't find anything for new version of Graph API in their document.
Also, according to this answer, apparently, there is no way to do this. At least at current time.
I'm trying to add an 'Apply by LinkedIn' button to my website. I realise the plugin was deprecatad and am trying to use the JS SDK to create this. What I currently have in place (as documented here) will allow me to sign in to my account, however, the documentation doesn't go any further. How is the user to apply for a specific position, should this be referenced in the url somewhere?
Also, I've submitted the application to access the API but have heard nothing back after 9 days.
Any feedback appreciated,
Thanks :)
Can you suggest a very very simple issue tracking widget. UserVoice, is a little too involved for us with their forums and what not. What we want is something that just allows people to send us an issue or note and grabs a URL.
If by widget you mean something that you can embed on your page that will allow visitors to leave feedback/issues, there are javascript plugins, like feedback_me that will allow posting feedback to a backend provided by you.
If your are not comfortable with supplying a backend of your own, there are of course countless products that will do basic stuff for you and more. This is list by no means complete, but it's a start:
Usersnap
Trackduck
Marker
Userback
Bugmuncher
Doorbell
Hava a look at userrules.com
It allows you to integrate to your internal Issue Tracking system (JIRA, BugZilla, Redmine, Basecamp etc.). Any feedback from your customers come, you can directly export it to ur external system. And it will keep track of its progress for you.
Liked, what they have done with their UI, plus you can add your own customizable fields to ask some specific info from your customers in the feedback widget.
Getsatisfaction? BitBucket? Github? Google Code? All have issue trackers and, except for that last one, allow you to keep your code private, but your issues public.