Uber developer dashabord show error "Invalid session" every time.
After login "https://developer.uber.com/dashboard#_" page show only Invalid session text, I can't do anything.
Any one why this happens?
Related
i'm encountering an issue with Facebook login, short context:
We have our auth service in scala
We use a connect.app in vuejs to call our auth service
Facebook login was working like 6 month before
i noticed that Facebook removed our API access due to lack of privacy policy link
i changed the privacy link and clicked on " restore access"
I checked AP ID and Secretkey on our env and it's correct
When i try to login with facebook, i get this message issue on click
Then when i click on "okay" i have more info about error : Invalid value for: query parameter state.
I don't know what i should do to make it works again.
Thanks in advance for your friendly help.
I use accounts-facebook in Meteor 1.4.3.2 to allow my app's users to log in via Facebook. The app also makes other Facebook API calls using the Facebook token accounts-facebook stores in the user document.
Sometimes, when I try to make a call, I get an error:
{
message: 'Error validating access token: Session does not match current stored session. This may be because the user changed the password since the time the session was created or Facebook has changed the session for security reasons.',
type: 'OAuthException',
code: 190,
error_subcode: 460,
fbtrace_id: '...'
}
Facebook says users will need to log in again. I built a flow to fix this problem. When we get a 190/460, we set the services.facebook.accessToken property in their user document to false and email them a link to a page with a "Refresh Facebook Login" button which simply logs them in to the app again via Facebook.
The flow appears to work. I can see the accessToken gets set to false. When I click through on the link in the email and then click the "Refresh" button, I get a token that is different from the previous token. However, when the app tries to make another FB API request, it gets the same 190/460 error with the new token.
If the fix for 190/460 is to have the user log in again, why do I continue to get the error after the user has refreshed the token?
I had a similar issue and solved it going to Facebook developer page
-> Messenger option from the left menu
-> Configuration
then scroll to "access tokens", click "generate token" button and copy that token to your code.
For example in php looks like
$accessToken = 'EAAKHOkhtsDABAJgyp....';
I try using this lib https://code.google.com/p/facebook-actionscript-api/,
but when I call FacebookDesktop.init("820024968051122",loginHandler);
I get error:
code: 2500
message: An active access token must be used to query information about the current user.
type: OAuthException
If I call FacebookDesktop.init("820024968051122",loginHandler,"test_user_token");
then all work fine, but where I get token if user is not log in?
Well buddy, you can read the documentation, where you can see that under init there is login method, stating: [static] Opens a new login window so the current user can log in to Facebook.
We followed the Facebook example code, shown here -- this works in our app -- if you click the anchor 'a' link, its onclick handler opens a new window and the facebook feed dialog appears:
<a class="fbShareToWall" onClick='window.open("https://www.facebook.com/dialog/feed?app_id=123050457758177
&link=https://developers.facebook.com/docs/reference/dialogs/
&picture=http://fbrell.com/f8.jpg
&name=Facebook%20Dialogs&caption=Reference%20Documentation
&description=Using%20Dialogs%20to%20interact%20with%20users.
&redirect_uri=http://www.example.com/response");'>Share on Facebook</a>
The above code works fine and displays the Facebook sample of the Feed dialog.
Here is our code - we get the error message:
"An error occurred with oursite.com. Please try again later.
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
NOTE: this is a beta site and we're running it on a staging server whose domain name is NOT the same as the domain name that "OUR_APP_ID" below is associated with:
<a class="fbShareToWall" onClick='window.open("https://www.facebook.com/dialog/feed?app_id="OUR_APP_ID"
&link=https://www.oursite.com&name=Please%20work
&caption=Just%20work
&description=Comeon%20work
&redirect_uri=http://www.oursite.com");'>Share on Facebook</a>
(note: our code has the numerical FB app_id, not "OUR_APP_ID")
"OUR_APP_ID" is 'connected' to our production server's domain name and we're kinda wondering if that's the problem.
EDIT: "we're kinda wondering if that's the problem" because the code above is on our staging website www.foo.com --
and our code above uses an app_Id that we connected to our production domain name 'www.oursite.com'.
We wonder if Facebook -- upon receiving the above request to display the Feed dialog -- is saying to itself
"okay this website www.foo.com is trying to display a Feed dialog -- but the app_id is for www.oursite.com --
so we're going to pop up a 191 error"
We tested that theory. We altered the sample FB feed dialog code at the top -- we changed some numbers in the sample code's app id.
And we get an error message now with the formerly working sample Feed dialog code but it is a completely different error message.
Any advice on this '191' redirect_uri error message?
the url format works fine with my app
https://www.facebook.com/dialog/feed?app_id=135669679827333&link=https://anotherfeed.com&name=testing&caption=Just%20testing&description=the%20test&redirect_uri=http://anotherfeed.com
check to make sure your app id is correct and that your redirecting to the domain that is set up in your app settings.
I've two issues with Facebook Connect:
1) I use the new Single Sign On Authentication. It works great, but the first time, I authenticate an user with my App when I request the token, i immediately want to post a link to the users wall, but then I get this error:
2011-10-11 15:42:44.831 [1717:707] Dialog DidFail With Error: Error Domain=NSURLErrorDomain Code=-999 "The operation couldn’t be completed. (NSURLErrorDomain error -999.)" UserInfo=0x7487290 {NSErrorFailingURLKey=https://m.facebook.com/dialog/feed?link=http%3A%2F%2Fwww.example.it%2Findex.php%3Fid%3D4%26no_cache%3D1%26tx_ttnews%5Btt_news%5D%3D103184&access_token=_test-Z0Ru37mpEAbffAn9n5wlWUaIVOH2tsF8.eyJpdiI6IjYyUXVBOTJKZVVwWjF5bmxZUmluUGcifQ.VxaUq2QcPXUgcYTjvqtnhLcBK27wflAIv3XoNVNcRT6dtQqfJZZ9NdLqLXxPdpBFl1U1DGF8xetLy8TOcLuLmU9l2AQ0JzYKmm9d-7azAYCYiZc51BiXKgHlpzw9Hsplr-tTKAfkXF2oJSOkbeN7UDMyLqDdCyhwiFTdVX3tGzA&app_id=1535027294&redirect_uri=fbconnect%3A%2F%2Fsuccess&user_message_prompt=Teilen&sdk=2&display=touch, NSErrorFailingURLStringKey=https://m.facebook.com/dialog/feed?link=http%3A%2F%2Fwww.example.it%2Findex.php%3Fid%3D4%26no_cache%3D1%26tx_ttnews%5Btt_news%5D%3D103184&access_token=_Wtest_modifiedF8.eyJpdiI6IjYyUXVBOTJKZVVwWjF5bmxZUmluUGcifQ.VxaUq2QcPXUgcYTjvqtnhLcBK27wflAIv3XoNVNcRT6dtQqfJZZ9NdLqLXxPdpBFl1U1DGF8xetLy8TOcLuLmU9l2AQ0JzYKmm9d-7azAYCYiZc51BiXKgHlpzw9Hsplr-tTKAfkXF2oJSOkbeN7UDMyLqDdCyhwiFTdVX3tGzA&app_id=688535027294&redirect_uri=fbconnect%3A%2F%2Fsuccess&user_message_prompt=Teilen&sdk=2&display=touch}
The second time I try to post something to the wall I get a success, there I don't need to request the permissions again. But the first time it always fauls. With the facebook.app installed, but also with the redirect from Safari.
I only requested "stream_publish", when requesting also "offline_access" then it works. Seems to be a Facebook issue.
We are seeing the same thing over on First dialog after authenticating fails immediately and closes dialog
I know yours was first, but the discussion ended up over on that question.