My evernote-mode doesn't work now - emacs

I input the correct user and passwd, but emacs shows me that
evernote::EDAM::Error::EDANUserException (parameter: consumerKey errorCode: INVALID_AUTH)
I used 0.41 version of evernote-mode ,and have done all setup.
the file "Evernote-Client-Output" displayed this message:
((class . ErrorReply)(result_code . 8)(command_id . 7)(message . "Evernote::EDAM::Error::EDAMUserException (parameter: consumerKey errorCode: INVALID_AUTH)"))
please tell me how to handle this error. thanks.

evernote-mode probably needs to be updated to make use of either OAuth or developer tokens. More info here

evernote-mode has been updated with oauth and using developer tokens by pymander, see here. But
there is known issues when opening existing notebooks due to invalid gdbm, see the outstanding issues in the repo. The error is fixed in a recent folked repo.

No longer maintained. See issue #38.

Related

I can't download my iCloud calender anymore

I had a bat file which downloaded my iCloud calendar every hour. the link used was found via the iCloud site (the calendar is public shared). It has an webcal:// url but according to Apple's support you have to change this to http.
Using explorer of chrome, this file does not download.
In Chrome: {"reason":"Invalid or missing Origin header","error":1}
In Explorer: file seems to start, but then it says: "can't download ..."
My bat file:
#echo off
powershell -Command "(New-Object Net.WebClient).DownloadFile('http://p20-calendarws.icloud.com/ca/subscribe/1/...', 'D:\Backup\cal.ics')"
pause
The code above gives me:
Exception calling "downloadfile" with "2" arguments: the remote server returned an error: 421 misdirected request.
This used to work fine, not anymore it seems.
Any thoughts? Anyone else doing something similar?
Tried replacing http with https, but no luck. Searching if iCloud made some changes didn't turn up any results.
Did you recently enable Apple's Two-Factor Authentication? I was getting the same error as you when trying to access a public Apple Calendar from someone's account -- it worked fine and then started giving the "invalid or missing origin header" information. I had that person turn off Two-Factor Authentication and then I regenerated the Public Calendar link (using iCloud.com) and now it works fine. Given that one of Apple's latest updates really started pushing the Two-Factor Authentication, it may have been turned on without fully realizing it (my mom managed to turn it on and didn't even know what it was when I asked her about it).
John
I found a solution to this issue that worked for me.
I had some calendars that had the error
{"reason":"Invalid or missing Origin header","error":1}
and some that didn't. Then I noticed that the ones that I could download without any trouble started with 'webcal://p05-' while those that had the error started with 'webcal://p45-'. So I simply unticked Public Calendar and clicked OK before selecting the calendar again and ticking Public Calendar. If that generates a URL starting with 'webcal://p45-', copy it to the browser and try downloading it, if not, try again until you get the right URL.

Socialite laravel 5.4 Facebook Provider

i have a problem here maybe sameone can help me: i install the Socialite pakcage to my laravel project and in start it work perfect with facebook , google and linkedin provider. But now it get always this message when i try to connect with facebook , and other provider connect perfectly.
What's wrong ?
ClientException in RequestException.php line 111:
Client error: GET https://graph.facebook.com/v2.8/me?access_token=&fields=name,email,gender,verified,link&appsecret_proof=5fbda0d218f94cb8024712269c053f0186d360efd82cd358b588eaf621e0c79c
resulted in a 400 Bad Request response:
{"error":{"message":"An active access token must be used to query information about the current user.","type":"OAuthExce (truncated...)
I fix the problem !
You need the make same changes in vendor/laravel/socialite/src/Two/FacebookProvider.php file
See here:
github socialite
composer update will fix it by updating the laravel/socialite version
Oh, so I'm not the only one. Good. Waiting on the answer, I've lost like at least 60mins trying to figure this out, I'm quite sure it's gonna be something Facebook related. They're killing their 2.2 api, I guess, today, maybe they messed up something. :/

Facebook auth serverside calls back 2 times with the same code

On our server-side authentication with Facebook we get a random and weird issue. Facebook calls the call back URL two times with the same code. This is only happening for some users and not on every login.
This is the flow we have implemented on our side: https://developers.facebook.com/…/manually-build-a-login-fl… . We have been using it since the beginning of 2013 and we haven't noticed any issues so far.
And this is the error we get when we are exchanging the code for an access token the second time.
{"error":{"message":"This authorization code has been used.","type":"OAuthException","code":100,"fbtrace_id":"traceID"}}
We tried to log this issue as a bug on https://developers.facebook.com/bugs but unfortunately it doesn't work.
It keeps showing unexpected error. Not to mention that i was unable to find the correct bug category.
Any idea on how we can fix this?
Thanks!
Could it be that users are clicking twice to process auth service? Try disabling the button before calling Facebook auth service
What language are you using?
I just had this problem in Ruby using Devise for Rails. I had created an omniauth.rb initializer file, and added a config line item in the devise.rb initializer file.
If you did this too, you can remove the omniauth.rb initializer file and you should be good to go!

Paypal shows old version error on express check out , I got my page run first but now shows this error

I doing paypal express checkout in jsp on sandbox with out using the sdk I am getting the ACK as sucess when generating the token after that when i redirected to sandbox now it shows error message on sandbox as
You have requested an outdated version of PayPal. This error often results from the use of bookmarks.
This is the Ack response i got
TOKEN=EC%2d5PT30649GD612951T&TIMESTAMP=2012%2d03%2d04T16%3a44%3a18Z&CORRELATIONID=4ed0e9de9ec8a&ACK=Success&VERSION=84%2e0&BUILD=2571254
I decoded the response using URLDecoder and redirected to the sandbox
if (ack.equals("Success")) { String logurl = "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=express-checkout&token="+token;
response.sendRedirect(logurl);
}
Thanks in advance for any suggestions and answers
If you are receiving this error, it is best to check the url you are redirecting.
Documentation says that the URL is
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout
Careful with the _express-checkout part. If you are using an ide (like Visual Studio) that marks the urls as links, you might think that it is a space (as it becomes invisible) and at the first error you encounter, you might delete the underscore char.
I got it working and I am answering because i found many one have same error This error occurs mainly due to any of the samll errors or changes in your NVP if you are using it.
I think This link will be helps , deals with "You have requested an outdated version of PayPal"

facebook chat on the iphone using xmppframework

Well i started of by following all the instructions here:
http://code.google.com/p/xmppframework/wiki/FacebookChatHowTo
I used the recommended fork of the facebook api and tried the latest from:
https://github.com/facebook/facebook-ios-sdk/
My problem starts with the following error:
< failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl">< not-authorized/></failure>
The error is a reply from facebook to xmppframework s response to a authentication challenge. The response that is made by the iphone is base64 encoded msg when i decode it i find 2 of the values are null:
api_key=(null)
and the
session_key=(null)
This is obviously the reason facebook is returning that error. But the problem i have is i cant seem to find any where to set these values in the framework. Besides i think the session_key should be pulled in from facebook anyway.
I guess what i want to know is a couple of things.
Has any one got the xmppframework working with facebook on a iDevice?
If you have got it working did you have to stray from the path of the instructions on http://code.google.com/p/xmppframework/wiki/FacebookChatHowTo ?
do you know of any other method to get facebook chat working on the iphone?
Any suggestions or help for my current dilemma would be appreciated. Happy to share my code if you want.
cheers
I wrote the Facebook integration for XMPPFramework. The api_key and session_key, come from a call to auth.PromoteSession. Facebook is trying to deprecate that call, so to enable it, you must follow step 7, in the HowTo:
Under Migrations, change Disable Deprecated Auth Methods from Enabled to Disabled and Save Changes.