Topic-icon JFBConnect on new install not working

Active Subscriptions:

None
5 years 8 months ago - 5 years 8 months ago #64351 by dlewintx
I installed the JFBConnect on a Joomla 3.8.10 site with no other social related extensions, just Joomla login.

I followed the documentation as written, creating my Facebook App, and using Autotune, error check, etc. The source domain and destination has been verified and facebook page are both in my business manager account. I have been able to connect a joomla user to a facebook account, and have assigned that user to the channel.

However, when trying to create the channel, I get "Selected user has not granted the manage_pages permission. Please have them login the front end of the site and accept the correct permissions." When I return to the front end of the site the Facebook logon box is gone.

I tried to create a test application clone version of my facebook application, and in trying to use that, I get the same error along with the error " Facebook – Invalid appsecret_proof provided in the API argument. Even though autotune works on the testapplication.

What am I missing? Also, can you provide any guidance on what should be included in the video / configuration use steps that need to be submitted for Facebook app approval?

dlewintx
Last edit: 5 years 8 months ago by dlewintx.
The topic has been locked.
Support Specialist
5 years 8 months ago #64353 by alzander

When I return to the front end of the site the Facebook logon box is gone.

It sounds like you're still logged in on the front-end of the site. You'll need to logout and then log back in so that JFBConnect can request the additional permissions for your user.

I hope that's all it is. I'm unsure what the appsecret error is, but ideally you won't need to setup the clone site, so we can worry about that later if necessary.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 8 months ago - 5 years 8 months ago #64356 by dlewintx
Made some progress with several hours of trial and error. There seems to be something missing in your instructions. Here is what I experienced and what I had to do to get it to work.

I followed the instructions as written in creating the Facebook App, and then using AutoTune. I was able to log into the front end of my website using Facebook, and then associate that account with a local Joomla admin account.

When I went to set up the channel, and selected the above linked user, I got an error message, "Selected user has not granted the manage_pages permission. Please have them login the front end of the site and accept the correct permissions". When I then logged back into the front end again using the linked Facebook account, I got the warning message
"Invalid Scopes: manage_pages, publish_pages. 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". When I tried to close the message, it just kept cycling.

I was finally able to log into the from end and grant the required permissions after TURNING OFF PUBLIC ACCESS to the Facebook application. When I did this, I was able to set permissions in Facebook through the front end, and then complete the Channel set-up by selecting the desired page in the channel set-up dialog box. I was also able to successfully post from the website to the Facebook page with the Facebook application still "NOT PUBLIC".

This raised a couple of questions. In the set-up documentation (which is generally quite good) it specifically states to TURN ON PUBLIC ACCESS. I did not see anywhere where there was a step to turn it back off. But I could NOT get the component channel set up without doing this. Am I missing something somewhere? Should this not have worked with the application not public? Does the application ever need to be public if only being used by me for the websites and pages I manage? And if it works if not public, and never needs to be public, is application review still required?

At what point do we need to submit for application review, and what do you recommend we show in the accompanying screen cast recommended to be included in our approval submission?

dlewintx
Last edit: 5 years 8 months ago by dlewintx.
The topic has been locked.
Support Specialist
5 years 8 months ago #64361 by alzander
dlewintx,
I believe what you're saying is correct, and I'm sorry for the trouble you've run into and debugging it took you to get there. Unfortunately, Facebook has been constantly changing their API access and approval process over the last 4 months since all the privacy issues have come to light. We've been working hard on updates on our end to ease the transition to the new Facebook order, but surely have missed some steps on the way.

In the past, the message you got was standard fare. It would display until you went through the App Review process. However, if you were an admin of the app, you could still grant that permission to yourself. In almost all uses cases of JFBConnect, that was enough. You didn't need the full app review for those permissions because it was just the admins using it anyways.

Now, it seems like you can only grant that while in Dev mode. BUT, once granted, that permission will work when the app is switched back to Live mode. Our new (current) recommendation is to:
* Get the permission while your app is in dev mode
* Switch back to live
* Submit the app for approval for manage_pages and publish_pages - If you get approval, you never have to worry about this
That last point is annoying though because elsewhere in Facebook's documentation they say you shouldn't go through App Review if just admins are using the permission.

On August 1st, Facebook has set a deadline for getting app review for some permissions to keep working. We'll be keeping a close eye on what functionality works, and doesn't, after then. Of course, we'll make any adjustments necessary to JFBConnect as well.

We're putting together more guides for the approval process, but you can see our submission videos for different channel features on our YouTube page. These were intentionally made 'off the cuff' because that's how most users will do it. We didn't want to show a professionally edited video, just what (we think) Facebook expects. Our reviews our still in flight:
www.youtube.com/channel/UCKJ-56lz82_KGk7...g?view_as=subscriber

For more info on the App Review process, if you haven't read it, see:
www.sourcecoast.com/blog/facebook-app-review-explained

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 8 months ago #64374 by dlewintx
Alex:

Thanks for the reply. Got it and understand the pain Facebook is putting everyone through. I posted my comments not to complain but to save someone else some time. It works as you explained, in that after approval, I can go live. The interesting thing I found in this process, is that even when in DEV mode, the application was allowed to post content to my Facebook page that was viewable by all. This was different from creating a test app clone, where the content is only viewable by admins. So I am wonder is an app is never set to public, and is only used by the creator, with dev mode working, will that bypass the app review process. I know you don't know and it will be interesting to see how this all shakes out.

Nice product by the way. Somewhat of a steep learning curve for me, but that is not your issue.

dlewintx
The topic has been locked.
Support Specialist
5 years 8 months ago #64376 by alzander

So I am wonder is an app is never set to public, and is only used by the creator, with dev mode working, will that bypass the app review process.

Our understanding and belief is that yes, this is true. If you don't want normally users to login to your app, leaving it in Dev mode to do what you want is acceptable.

We definitely appreciate the feedback. We know there's a learning curve to JFBConnect. It's grown quite a bit over a decade of development and constant changes in each social network. It's a constant game of trying to simplify things as much as possible, but we don't have full control of it all (and things move fast, making it difficult to keep everything in check).

Anyways, glad you're happy and definitely let us know if there's any other suggestions or thoughts you have!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 8 months ago #64387 by dlewintx
Alex:

You stated that "Our understanding and belief is that yes, this is true. If you don't want normally users to login to your app, leaving it in Dev mode to do what you want is acceptable."

From a website creator and manager perspective this is HUGE, and if it holds true after Facebook stabilizes, this might be something to highlight in the instructions as it could save some from the headaches of the review process.

The use case in my situation is I create and host Joomla websites for clients. If they want Facebook integration so that new website content is auto posted to their facebook page, I requires admin access to their Facebook Page. All of this is set-up in through a Facebook Business Manager account. The end result is I have verified ownership of the websites, own the app, and have admin rights to the destination page. The facebook app is then only used by me, and ONLY for those websites and pages I manage. It is never intended to be used for, or by, public access or any other users. Given the way your channel access works in that once established for the someone with page admin rights, all authorized website users can use it to autopost content, I never need my app to be public.

Under this usage scenario, and the way it appears to work, I should not have any need to submit an app for review, and can avoid that headache. I guess we will see how this plays out.

dlewintx
The topic has been locked.
Support Specialist
5 years 8 months ago #64391 by alzander
We're hoping that the Dev mode setting is a viable option as well. We're hesitant to promote anything as a solution now as Facebook is re-arranging the deck chairs constantly right now. There are many customers like yourself that just want to push and pull content from their page. They don't have registered users to have to accomodate as well. In that case, the dev mode seems like the right solution.

Unfortunately, a large portion of sites need both Channel access and allow users to register. Those are the trickier situations right now, as Facebook doesn't seem to like 'selective' permissions only for the admin. That used to be fine.. in public mode, admins would still be requested the permission but normal users would see it. They've flipped that upside down now to only allow admins to get it in dev mode... but then require approval as if you want to get it from all users.

We think they'll correct that at some point, but don't know if they'll make it more onerous or more lenient.

Fun stuff.

I do hope you have what you need by using Dev mode and don't run into any further issues!

Alex
The topic has been locked.