Topic-icon Facebook messages are not shown any more on my site

Hi,
Facebook Channel worked correctly on my Homepage. Since several month, it doesn't show any more the facebook messages on my site. In the backend, I get the message:
The selected user has not granted the 'publish_actions' permission. Please have them login on the front-end of the site and accept the correct permission.
When I want to connect to the Frontend, I get the message of Facebook:
Invalid Scopes: publish_actions. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: developers.facebook.com/docs/facebook-login/permissions
What can I do?
Thanks
Tom
The topic has been locked.
Support Specialist
5 years 10 months ago #63980 by alzander
Tom,
We're working on a major update to JFBConnect to revise our integration with Facebook to go along with all of the changes they have made over the last 2 months. They've been announcing minor tweaks every week and bigger updates about every 2-3 weeks. We've been following each update and our next release should encompass all of these changes. It's planned to be out around the end of this month.

One of the changes Facebook has made is that you can no longer push content to Facebook Pages in the same way we used to. Please edit the channel and set the "Allow Posting" option to 'No'. Then, try to authenticate on the front-end again. You shouldn't see the same error you posted above.

Then, in the admin area, check that the stream shows up there. If so, you should be good to go. If not, let us know if there's another error message or anything else and we'll gladly help get you going. There is one other update that may be required if your Facebook App was created more than about 2 years ago. If you think that may be the case, let us know that as well :)

Thanks,
Alex
The topic has been locked.
5 years 10 months ago #63997 by Tomsmeier
Hi,
Thank you for your quick answer. Now i don‘t get de error message again and I can login in the frontend with the facebook login.
But I do still not get the facebook stream. In the backend I still get the message „ No stream Data found“

Thanks
Tom
The topic has been locked.
Support Specialist
5 years 10 months ago #64000 by alzander
Tom,
I'm going to assume you're using a Facebook app that was created a while ago. If so (or try either way), please try the following code update. In the /components/com_jfbconnect/providers/facebook/channel/page.php file, around line 89, you should see:
$feed = $this->provider->api('/'.$pageId . '/feed?fields=message,from,updated_time,name,link,picture,full_picture,caption,description,comments', $params, true, 'GET');
Please add v2.12 like below:
$feed = $this->provider->api('/v2.12/'.$pageId . '/feed?fields=message,from,updated_time,name,link,picture,full_picture,caption,description,comments', $params, true, 'GET');
That will, hopefully, get things going for you. If not though, let us know. At that point, we'll probably need admin (and possibly FTP) access to your site to investigate further though.

Thanks,
Alex
The topic has been locked.
5 years 10 months ago #64001 by Tomsmeier
Alex,
I‘ve tried your proposition, but it didn‘t help. So I‘ve sent you my access data

Tom
The topic has been locked.
5 years 10 months ago #64002 by Tomsmeier
Alex,
I‘ve tried your proposition, but it didn‘t help. So I‘ve sent you my access data

Tom
The topic has been locked.
Support Specialist
5 years 10 months ago #64064 by alzander
Tom,
I apologize for the delayed responses.

We released JFBConnect v8 yesterday. This release has many updates to bring JFBConnect up to date with the changes Facebook has made over the last 2 months. I'd recommend installing this update and testing again to see if there is an improvement. If not, then you'll be on the latest version and it should be easy to track down any issues that you're still encountering with the Facebook Channel you have setup.

Thanks,
Alex
The topic has been locked.
5 years 10 months ago #64071 by Tomsmeier
Alex,
no worries. I've installed the new version 8.0.0, passed the auto-tune section and it still doesn't work. Can you have a look and tell me how I could solve the problem. I think it could be something with the configuration of the Facebook application.
Thank you for your help
The topic has been locked.
Support Specialist
5 years 10 months ago #64081 by alzander
Tom,
Sorry for the delays in getting back to you. We've been investigating this further to try and understand the underlying issue and the proper way forward.

Facebook has removed some features that are required for pulling in a feed from a Group and replaced with some other features that are more limited in various ways. We currently support the 'new' features, but they seem pretty half-baked. Most of the details are summarized in this Facebook bug report .

Basically, as it stands right now, you can't get a list of a Facebook user's Groups unless your Facebook App is in development mode. I believe once you get this list and setup your channel, you should be able to set your App back into Live mode. In that case, your app would only need to be in Development mode briefly. Here's what I would recommend:
* Go to the Facebook Developer Area
* Go into your App
* In the top right, use the switch to set the "Status" to Development
* Then, in the JFBConnect Channels area, see if the list of your groups appears
* If so, setup the channel as you want and test that you can pull in the feed
* When done, in the Developer Area, set your application back to 'Live'.

Ultimately, you will need to submit your application for Review so that you can continue to read the feed from your Group. We're preparing some documentation on how to do this best, but it's comes down to creating a video or screenshots of how the Group feed was setup and is shown on your page. Nothing professional required, it can be done with a cellphone video'ing your screen.

Please let me know if the above helps get you going. With the access to your site and FTP, there's not much we can do to fix this. It's mostly in the Facebook app that changes are required.

I hope that helps, but if you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.
5 years 10 months ago #64087 by Tomsmeier
Hi Alex,
Thank you for your answer. You are right, if I go back to „Development“ the stream is shown in JFBC channel definition.
So I have to submit the Facebook app, but I do not know which permissions I need to request and where and how I can show them.
So I really would need this documentation about how to submit the Facebook app
Thanks for your help
Tom
The topic has been locked.