For the first stage in our application, the user must "continue with Facebook" for us to pull certain permissions. Today users tried to create an account and are experiencing the screenshot attached. Facebook blocked this URL: https://dandy-user-pool-prod.auth.us-east-1.amazoncognito.com/oauth2/idresponse
SCREENSHOT HERE
How can we fix this? Not sure what's wrong as this URL has been working fine to allow users to create an account for the past month.
Can you try now? The block has been lifted.
Related
I have facebook messenger application (it is bot using MS Bot Framework, although I don't think it is relevant). It has webhook subscribed to page events. It used to work fine until few days ago, when the webhook was unsubscribed from page and when I am trying to subscribe again it tells me:
"Insufficient Permission You do not have the necessary permission for
the specified Page to perform the requested action."
I am owner and admin on both the FB page and messenger app. I created similar page and messenger app and it works there, but I still need to use this old one. I tried subscribing to other pages which I own and admin, but with same result. I also tried it with other person who is admin.
I found other people experiencing same/similar message on FB, but not in this particular case. But I haven't found any solution.
Does anyone know what could be the problem? Or have anyone experienced this issue?
Thanks in advance for any ideas.
You need to generate a token first. Under messager->Settings->Token Generation-> Select your page and you'll be prompted to give the permission. Grant all permission required, then you shall be able to subscribe or unsubscribe to pages you manage.
This process gives your application the token to validate if you have the moderator or higher rights to the page you want to subscribe to.
After spending 3 days on this. Here is the solution for this.
Go to your Facebook Profile - > Settings -> Apps
and Remove YOUR APP from there.
In Developer Dashboard Go to App Review -> Add Items
manage_pages
(This Permission Needed for Accessing page access tokens)
Add above permission for review - with any simple video of above error
Now go to Messanger-> Settings -> Token Generation
Select page from dropdown List
now it will open a popup (because you removed this app in 1st step) for app access permission , notice that now it will ask for manage pages permission
Grant those permission and create access tokens
Now try again subscribing Webhook to Pages
This Works for me.
You need to generate your page access token for this.
Go to your facebook Developer dashboard, and open the messenger tab. There, you will see this for token generation. Select your page and generate the token. Then use this token in your bot.
Page access token generation
All I want to do is post to my facebook app wall with my website after certain actions occur on the website...used to work however at some point I started neglecting my code and it stopped working..
So now I want to get it working again however I believe I am having an issue with permissions that I can't seem to get around, as when i attempt to post from my website it is returning the error:
*** GraphAPIError: (#200) The user hasn't authorized the application to perform this action
I applied for the following permissions:
manage_pages and publish_pages
But I am now told the following:
General You don't need any additional permissions to post to Pages or
blogs that you administer. You only need to submit your app for review
if your app will use a public-facing login.
So wondering if anybody can tell me the steps to submit my app for review. Not seeming to see how to do that seemingly most basic action.
Thanks.
You don’t need to submit for review, if you are the only one using the app.
https://developers.facebook.com/docs/apps/faq#roles
There seems to have been a huge change in the way Facebook manages apps that access their API. Now it seems if you want to create any app that allows uploads to Facebook this application MUST be reviewed by Facebook. Am I wrong? has anyone actually managed to speak or correspond DIRECTLY with anyone at facebook to confirm this?
So my question is, after a week of hair pulling and trying to get a simple image uploading application working, what permissions are necessary to upload a photo to facebook?
Right now I have
publish_actions
email
pubic_profile
user_friends
I'm guessing I ALSO need user_photo permissions.
But the convoluted process that is required to add more permissions has me stumped.
First i click new submission. Then I select user_photos. But I then get an error saying 'It looks like you haven't made any API requests to access content with the user_photos permission in the last 30 days. You need to test this permission in your app with any account listed in Roles before you can submit for review. It looks like you havent tested this permission because no API request has been made against publish_actions in the last 30 days.
Which seems INCORRECT to me since in my signed GET request for image uploading I see the following
redirect_uri fbconnect://success
display touch
state {"is_open_session":true,"is_active_session":true,"com.facebook.sdk_client_state":true,"3_method":"fallback_auth","0_auth_logger_id":"foo"}
scope ****user_photos****
Ok, can any Facebook API experts confirm that
1) I definitely need to submit my app for review in order to upload photos to a facebook account
2) I need user_photo permissions
and
3) I must first set up a test user and test with user_photos BEFORE I submit the app
Addendum. After further testing am getting the image upload to work for all users, BUT only after logging in a 2nd time. ie after first login submit the user is presented with a new blank login popup. Only after logging in a 2nd time (the photo upload is done immediately after login) is the image uploaded successfully.
Can anyone suggest why this is happening? I've posted a 2nd question here
Facebook Image Uploads-required to login twice for first upload
do this and you problem will solve
go https://developers.facebook.com/tools/explorer/
select your Application and get access token and put this in field of submit "me/photos?fields=album" and press on submit >
that is done . that requests API to access content with the user_photos permission ..
Also can do that for every permission need to API requests just with some chage ...etc
It should be clear from the docs what is necessary and what not. I think I already answered questions 1) and 2) in your other question:
Latest Facebook Graph API > only admin user can login-upload photos
I doubt that 3) is necessary, because according to the docs user_photos is needed to retrieve photos, and publish_actions to upload photos...
References:
https://developers.facebook.com/docs/graph-api/reference/user/photos/#Reading
https://developers.facebook.com/docs/graph-api/reference/user/photos/#Creating
In work I got a task (we MUST work with ASP Classic by the way): when user posts a blog, a link to that blog should be posted automatically on user's facebook timeline and in his twitter. I made everything working, but there is one problem: user needs to be signed in to post. I've made the cheking if he's logged in, and if not he must log in.
But I need to avoid the logging-in step and make it automatic (by sending user's username and password as part of the data sent to twitter/facebook or something like that), but I can't figure out how to do that or if it's even possible at all.
Any ideas? Would greatly appreciate any help.
P.S.: for the twitter part I used http://scottdesapio.com/VBScriptOAuth/
for the facebook part I used a combination of: http://snipplr.com/view/61108/facebook-app-login--authorization-entirely-clientside/
Everything works, but is it possible to automatize the user's sign-in part?
Finally I managed to make the both things automated...
The problem with Twitter was that I didn't store request token in session, that's why I got "Could not authenticate you" error.
Can't remember what I did wrong with Facebook (some co-workers helped me out), but I guess I didn't make proper http requests...
So the answer is: yes, it is possible to automatically post to Twitter and Facebook without user sign in.
If I am not wrong then your logged in user in facebook for current browser is not authorize for your app.
I think you should try googling about "How to authorize users into app". OR
If you don't mind I am giving you the direct URL to go to that setting page for your app:
https://developers.facebook.com/apps and then go to your app then after from left side bar go to roles and then after click on test user tab from top of page and then click on add button it will opne one pop-up to add a user.
In app you have to add test user for testing purpose and have to login for that added test user, so added user will be authorize for that app and you will be able to test.
Thank you...
Website feed to facebook pages is broken and I get the following message:
"message":"Error validating access token: The session has been invalidated
because the user has changed the password.",
"type":"OAuthException","code":190,"error_subcode":460
Similar questions already been asked but I notice some of them are quite old and I want to make sure the answer is up to date.
Can I resolve the error without reapplying for a new token?
I fixed this by going to the related app in Facebook Developer center and resetting the Facebook App Secret (even reauthorizing would not work). It is the only way I could fix it and very frustrating and ridiculous that because the user changes their login password that it breaks the API/app.
No, you need to reauthenticate the user. See here: Handling Invalid/Expired Access Tokens
How-To: Handle expired access tokens .
There is also an outstanding bug which is causing this issue for many users. Please subscribe so that it gets the attention it needs :-)
https://developers.facebook.com/bugs/284696814962357
I notice you haven't accepted an answer so I thought I would try and help out. I was experiencing a similar problem and this answer worked for me https://stackoverflow.com/a/12654266/32348
You get this message because you have probably changed your password of your Facebook account. On the other hand, your instagram account password remained the same. The easiest way is to change your instagram password. Click to setting in instagram app, click reset the password. The program will probably send you a reset password link. Do it. Re-connect your instagram with your new password. The app will ask you to continue with your Facebook account and you in this way have re-given permission to instagram to publish ads. You are ready to go!
Happy ads.
This happened to me using {SNAP} Social Networks Auto Poster because the password to my Facebook Account was changed.
Steps to resolve:
Delete the complete social account set in {SNAP} Settings menu (Re-authorization will not fix the issue, as suggested by snap customer support)
Go to developers.facebook and change your APP Secret.
Start fresh and Create a New Social Account in {SNAP} with your APP ID and your new APP Secret.
That should do it.