Facebook app not resulting the photos - facebook

I have created an Facebook APP for fetching user photos and integrated on my website. When I try to get the photos, system asks me for login authentication. That works fine but I am not getting user photos. Can you please let me know what I am doing wrong?
I have set the permission for user_photos. Please refer screenshot # https://drive.google.com/file/d/1SDxwUWfWSIym4CdtPTF_c1vRzjpenYea/view. We have checked our coding flow. It seems everything is fine from our end. You can reproduce the issue at my store http://standalone.brushyourideas.com/index.php/productdesigner/index/index/id/1070/templateid/MjY0/. Please refer video to follow the steps for reproducing the issue # https://share.vidyard.com/watch/Vj8WxLQ1GBwC1ibAc1V4Ts

Related

Error when generating access token for Facebook messaging app

Despite googling and asking around I cannot find an answer to hat I am doing wrong.
I have a Facebook account and a Facebook developer account.
I created a page with my Facebook account
I log into FB developer page and create an app.
I give it a name and email and verify I am not a robot. I have a app id.
I go to dashboard and note I am in development mode.
I add a product - messenger to add te FB messaging to my page where I'll have my chat bot app.
To generate an Access Token I select the page I created from the drop down.
In the tutorial I am following an Access Token appears in the right had input.
But I get the following error
'lease edit permissions to grant the app pages_messaging in order to generate an access token.'
Can anyone tell me why and / or how to solve this issue.
Please note when I click edit permissions I see a prompt to get my permission changes reviewed by Facebook , but I should not need to do that as my app is in develop mode and will not be available to general FB users, as I understand it.
Here is a screen shot of what I see after clicking edit permissions
Thanks for your time . Much appreciated.
My apologies , I was confused when I saw the login permissions and thought I'd have to request fB to review my app , while it was still in deveopment mode. In fact you can follow the instructions below. Although I have no idea why iy just doesn't fill in the Access Token as it used to , the additional step seems pretty redundant and confusing (IMHO).
The process is simple however, just click on Edit Permissions > Select the ChatMiester page (deselect all others) > Make sure the checkbox is enabled and hit next and complete. This should generate the PAT. Having said this, I could not replicate this at my end, but it should work easily.

How to let FB test login before it goes live?

I'm setting up facebook login for my website. I've got it working w/ a test app on my dev server. I'm getting ready to ask facebook for approval, but there's something I can't figure out. They want instructions on how to access facebook login on my site. It says:
Please provide step-by-step instructions in English that show how to access Facebook Login.
Well the problem is you can't get to facebook login on my site right now. I'm not going to add that functionality to my live site when my app still isn't approved. Anyone know how to deal with this? Do I have to give facebook access to my dev site? And point dev to the production app?
Facebook needs to be able to test it for review, so there must be a way to access it for them.
That being said, why do you even want to go through the review process? You only need to go through review if you need additional permissions. A basic login does not need to get approved.
You can read all about review in the docs: https://developers.facebook.com/docs/facebook-login/review

Facebook sharing link error

I'm using this working example to create a share link:
https://www.facebook.com/dialog/feed?app_id=145634995501895&display=popup&caption=An%20example%20caption&link=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fdialogs%2F&redirect_uri=https://developers.facebook.com/tools/explorer
I change app_id to one which I created, and links which are placed in app settings too.
https://www.facebook.com/dialog/feed?app_id=755901181123275&display=popup&caption=An%20example%20caption&link=http://www.tousdanette.com/&redirect_uri=http://www.tousdanette.com/
It is working if i'm logged in with account which I used to create the app. But if I send link to another person it shows an error:
"An error occurred. Please try again later."
Maybe I need to apply some settings in fb app? or any other ideas?
I had the same issue a while back,
Go to your application dashboard and the app that uses the ID you require and see if the application is live to the public.
If this doesnt work try a diffrent app to test the link.

Getting Facebook publish_actions Permissions

If this is the wrong place to ask this - I super apologize in advance, I'm at a loss here.
I'm trying to develop a simple Facebook PHP app and I'm having trouble getting publish_actions. Here's how the app will work:
You enter your email address
Periodically, you receive emails like this ("Hey nice person, here's a video we think you might be interested in, click here to share it on your wall")
You click the button, it takes you to the app site, which asks for your publish permissions
You enter a message and share the video to your wall.
My problem: all of that requires publish_actions permissions, but FB won't grant them to me until I can show a working app (I applied for permissions and was denied because "Canvas
Your app isn't loading properly and errors appeared while testing your app").
My question: How do I get access to publish_actions without being able to show a working app (which requires publish_actions)? Can I use PHP to post to my own wall in development mode somehow to test it out?
Again - I apologize for the dumbness of this question, I am a PHP dev who is very new to FB, and I've looked everywhere for answers on this.
Try using the Facebook Graph API Explorer
You will be able to simulate some of the app permissions as if it was production.
Just go and select your app, then select Get User Access Token, finally select all the permissions you want to test.
Use the given token to develop and test things out and when you have a semi finished version, submit it through the app review section, following the Facebook App Review Guidelines
I submitted screenshots, a video of my app working, and step by step description on how to reproduce the publish action.
Hope it helps.

Facebook permission : lost right to publish photo and album

I've created a facebook app a few weeks ago. The app creates an album, and publish some photo inside. All was worked fine.
Since a few days, it doesn't work anymore.
After trying some (hundreds) tests, it seems :
- app login doesn't show photo upload right anymore,
- i can publish photos in main stream, but it doesn't work as well as before : user need to approve photo and i can't create album.
After looking in app parameters on facebook, all seems normal : permission for photo upload are still there...
Does anyone has any idea about this problem ?
Could it be some matters with review from facebook or something like that ?
Thanks for help !
Review is only needed for Open Graph actions and for an app to appear in the app center.
After looking in app parameters on facebook, all seems normal : permission for photo upload are still there...
The permissions set there are for login from the app center only. If you’re handling login yourself in your app, you have to ask for permissions via the scope parameter.