I did change the Social Media channels manager a couple of times. Perhaps that set a token in the database that is no longer valid because the Channel Manager is no longer the same. Is there a way to reset that 100 character secret code so that JFBConnect updates that token to the new one returned by a Facebook request.
Will update you user right away.
Could it be that the API key stored in database still reflects the previous key to the previous App that I deleted and recreated? I copied the new API key and new Secret code to the Facebook configuration page and saved the new configuration. I did that twice just to make sure that the correct keys were entered in the DB.
Give me about 15 minutes, it is now 7:43 in Florida.
OK, I am going to try re-installing JFBConnect to see if this corrects the "Error - Facebook API Error: A user access token is required to request this resource." error, when trying to set up the Facebook channel.
I don't know what to do without knowing a bit more about the JFBConnect application structure. I re-installed JFBConnect, but I presume that since there was no difference between the installed version of JFBConnect and the installation package I have that no changes were made. I ran AutoTune again and everything checks out except for a warning that I had JFBConnect in Debug Mode. I turned Debug Mode off and and then checked JFBConnect Facebook "Channels" again, but I still got: Error - Facebook API Error: A user access token is required to request this resource.
So I am waiting for Alex to make some suggestion as to what he thinks I should check in order to resolve this issue. Since this is a user access token error, could the problem be that there is a mismatch between the user's credentials that I have designated as the social media admin on the website and the credentials of the account owner (the same as on the website) on Facebook, the email account is the same in both instances.
The website in question here is https://www.911truthoutreach.org
First thing tomorrow morning on the west coast of the USA.
I sent you log in credentials. In the "Channels" page you will see: Error - Facebook API Error: A user access token is required to request this resource.
Wayne Coste is the person I designated as the creator and manager of all the pages for all the Social Media providers and his account is linked to [email protected] which is the account holder's, it is Wayne Coste's email that is used on Facebook as well as all the other social media providers.
I would re-install JFBConnect in an attempt to resolve this issue, but I will hold off until you take a look; don't want to complicate the issue.
OK, on Facebook, what should the App visibility be? Right now it is "Only Me"
On the App details page is also acknowledges that <MY EMAIL ADDRESS> can "Manage Pages" and Groups (your groups) is enabled.
I used the name of the chairman of the board as the name on the Facebook account, and really that wasn't a smart decision because he will not be involved in managing the social media accounts, but I am stuck with that now. I was trying to set up the Facebook account as a pure business account not connect to any particular individual, but that wasn't possible as it needed to be a real person. So I create a business page www.facebook.com/911truthoutreach.org and I want to channel all activity through that page and basically hide the personal page.
I am now down to:
Error Facebook API Error: A user access token is required to request this resource. On the Facebook Channels configuration page.
I created a new user my email address, logged in through Facebook, received the request from Facebook to manage pages, Accepted that request and set the access to public. I now get no errors for this user on the Channels configuration page but get the access token error. I will try re-entering the ID and API keys and saving to see if that resolves the issue.
Thanks Melissa, I already went through the the approval process but got stuck on the part where it says: Our review team will use this page to test your Page Tab app. Your Page Tab app must be installed on this page. Only pages that you admin will appear in the dropdown. [No eligible pages - or - Create a New Page.] This dialogue box indicates that there are no eligible pages installed.
Is there something I need to do to get our page www.facebook.com/911truthoutreach.org to show up here? Does this mean that the app is disconnected from the page? Should I do this again from scratch? Following the instructions you provided me?
Now I am getting : Error - Warning - Invalid Scope: manages_pages when I try to log in, and when I look at the Channels pages, I now see this: Error - Facebook API Error: Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api.
I think at this point I should delete the app and start over again.
I reentered the API key and secret code, took the 's' off manages_pages giving manage_pages in the Facebook configuration page, went to the front end and logged in again and got the prompt to submit the app to Facebook fro review and acknowledged the additional prompt declaring that I would be managing pages. the problem is, log in is failing and I am still getting the error in Channels setup: Error - Facebook API Error: Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api.
USER wrote:In the process of enabling manage_pages and user_groups, I have run into the following difficulties with FaceBook. I had to delete the app and recreate it because FaceBook was complaining that the previous app had not been approved.
Below are the prompts that appear when I wanted to add user_groups and manage_pages to the app. While I am doing this are there other items that I might want to add.
The following items must be completed before you can submit your app for review:
Please provide Notes for all items before submitting.
Facebook Login Integration (required)
Please provide step-by-step instructions in English that show how to access Facebook Login.
Facebook provides this suggestion:
- Login with Facebook to the "Coco and Etoile Dating App."
- Accept the "user_likes" permission.
- Access your "Coco and Etoile Dating App" profile:
Click the three lines in the upper left-hand corner
Click the "profile" tab.
- Within the profile view, scroll down to see the interests section.
These interests display the Facebook "user_likes" property.
Facebook provides these insctructions:
- Screenshots must be specific sizes
- Show off unique and engaging parts of your app
- Demonstrate how the app is social.
- Don’t include screenshots that have bulleted lists of features or calls to action e.g. "Click here to play the game!".
- Screenshots must be relevant. Please do not mislead people with images that are dramatically different from the actual in-app experience.
- Screenshots should not contain predominant, excessive marketing copy. Please keep the in-app experience display free from obstructive text and copy.
When you submit, the following platforms will be reviewed: App on Facebook, Website, Page Tab. You may visit your Settings if you want to edit the platforms that you support.
OK, after deleting and re-creating the app I can't just add the App ID and Secret code back in, I have to delete the Website and Page Tab Platforms and then go back to JFBConnect "Auto Tune" and re-run it and add the information back in for the Facebook Website platform and the Facebook Page Tab platform. After I do this I have to go back to Facebook and provide the additional information outlined above.
Is This correct?
I guess what I need to know is :
- What should I include as instructions for using the App?
- What kind of screen shots should I use to depict the operation of the App?
The problem I am having is that when I get to the step:
The selected user has not granted the "XYZ" permission. Please have them log in on the front-end of the site and accept the correct permission.
There aren't any additional permissions asked for. In other words there isn't the modal pop-up form that asks if I agree to connect this website to my FaceBook account.
This may be an issue with EasyProfile extending the Joomla user fields to include the Social Media accounts, but I really don't know what trouble shooting techniques to apply here.
I get the message:
The selected user has not granted the "manage_pages" permission. Please have them log in on the front-end of the site and accept the correct permission.
And I log in on the front end of the site connect site to FaceBook, but I am not sure what permissions are being talked about here, because that doesn't resolve the issue..
The images are kept in /media/sourcecoast/images/provider/ there are ten folders in that directory , amazon, facebook, github, google, instagram, linkedin, meetup, twitter, vk, windowslive. In each of these folders are two image files, icon.png and icon_label.png. these are the simple icon buttons with the Social Media provider logo and the longer button with the Social Media provider logo and the name of the provider.
If you want to install your own set of icons then you need to create icons with the same dimensions as the JFBConnect default icons and you have to give them a different name, like mysite_icon.png and mysite_icon_label.png; the name of each of hte icon image files for each of the providersd have to be the same, just use the same directory structure on your local computer as JFBConnect uses in /media/sourcecoast/provider to keep them from getting mixed up. You have to do this for each of the Social Media providers that you want custom icons for.
As per Melissa, you then need to do the following:
Additionally, once you do add your files, you will have to make a couple of changes in your JFBConnect configuration:
1. In the JFBConnect > Configuration > PROVIDER_NAME tab for each provider you support, set the 'Default Login Button' to your new file.
2. If you are using SCLogin, in Social Button Settings, you will need to set new Image Style options for each provider if you are using the 'Social Login Buttons' custom option.
After you have uploaded your new custom Social Media icons as described above, you will see them listed when you go to JFBConnect > Configuration > Amazon, Facebook, GitHub, Instagram, LinkedIn, Meetup, Twitter, VK and Windows Live, provided you made icons for each one of these.
Also when you go to the module, SCLogin, you will also see the new items displayed with radio buttons by each. Simply select the new icons by clicking the radio buttons and refresh your browser, and your new icons should now be displayed.
This is a really slick feature of JFBConnect.
About the Error Logs
Unfortunately, I didn't have error logs turn on for our website on the server, so all I have is an empty error log file right now. I will query Kieth at CloudAccess and see if he made a note of the error and if he can send me a copy of what was contained in the log. Also it will take many minutes for the log to be populated, so I will look at them tomorrow and see if I can find that error.
By the way I implemented the overrides as you suggested and everything works beautifully. I have the new icons displayed in the admin interface with radio buttons.
Thanks a million.
Thank you Melissa, and Thank you again Alex.
Sorry for being such a pain, but I have been working such long hours that at times I can't even remember my own name.
But I will implement your suggestions today. I am happy to know that JFBConnect provided this avenue for customization.
Oh yes one thing that wasn't mentioned and that is that there is a language/xx-XX/override.ini file in both the site side and the admin side that need to be edited if the labels are going to be the same in admin as they are on the site.
By the way, Kieth at CloudAccess says that you are a great company and really great to work with and that I would have no trouble identifying the cause of that fatal error by working with you guys.
Oh yes those log files that show the fatal error, I will hunt that down and get it to you today as well.
Yes we did have that conversation about language overrides before and you informed me where the Joomla .ini file is so that I can correct for browser rendering errors. I should have used the Joomla Language Manager instead and then went into the Joomla .ini file and corrected for the browser rendering issue.
Just to confirm, the overrides are stored at /language/overrides/xx-XX/xx-XX.override.ini for each language. As long as there aren't too many overrides, this approach is OK, But if someone were to make comprehensive overrides to many of the token="string" pairs in many languages in many of the components, modules and plugins, this would quickly get unwieldy. It would have been better to create directories or folders for each of the component, module and plugin text file language overrides just as in /language/xx-XX/ in order to preserve some kind of order in the event that particular edits needed to be made in the case I presented. And it is usually much faster to edit a text file than it is to go through a user interface, especially if you are using something like SublimeText III that flags errors very effectively. But this prevents typos from bringing down the system, I guess.
Sorry I mentioned this, because that was just an observation of the fact that since I edited the language file directly I lost my edits I wasn't thinking when I asked this queston a second time. But thanks for reminding me again.
What I really wanted to know is where I put custom icon.png and icon-label.png files for each of the Social Media providers such that they are picked up by JFBConnect and used instead of the standard JFBConnect Social Media icon images.
As far as the fatal error I will look at the logs and find it and then send it your way, I guess through this thread.
I want to replace the JFBConnect Icon set with icons designed to work with the scheme of the site, but I don't know where to put those such that JFBConnect will pick them up other than putting them in /media/sourcecoast/images/provider/name-of-social-media-provider/icon.png, icon-label.png
I wouldn't ask this except that JFBConnect threw a fatal error and I ended up with a website that consisted of a blank white page. So after a call to CloudAccess being told that JFBConnect was the culprit, I re-installed JFBConnect and everything returned to normal, but I lost my icons and .ini file label edits. JFBConnect doesn't seem to pick up language overrides when they are placed in /templates/911truthoutreach/language/en-GB/en-GB.com_jfbconnect.ini or /templates/911truthoutreach/language/en-GB/en-GB.mod_sclogin.ini., So I edited the /language/en-GB files directly.
Another thank You Alex. Thanks for the tip on the language overrides. You are probably correct that the web interface isn't representing the Unicode correctly.
We only have a handful of users right now so it isn't a big deal to connect all those users to their Social Media accounts as that should happen as new users register and elect to connect their user account to their Social Media account; i.e. we get confirmation from them that they want to do this.
As far as having all the user profiles from all the installed components on one page is a bit much, I would actually have to have them each on their own tab, a bit of overkill for what we need now. Besides the K2 component requires a lot of styling work to make the fields they contribute behave. This may change when K2 3.0 comes out, if it ever does, Foitis has been promising this for over a year now.
I have also enabled the EasyProfile plugin, and I am intrigued by this, it gives me a lot of control over user profile and I can add fields to the database and to the Joomla interface without having to manually hack com_users, which isn't difficult, but of course my work is lost when I upgrade and I would have to copy my hacked version of com_users for both the user side and the admin side back into their respective directories and then I have no guarantee that Joomla didn't change the structure of those files possibly making my hacked version break the site.
Is there any known issues with using EasyProfile together with JFBConnect that you are aware of. I like EasyProfile because I can order the fields any way I choose and add any fields unique to this site, and include an avatar as well. Now the question is will this work with JFBConnect. I will not be enabling the Social Media plugins that come with EasyProfile as I am totally sold on JFBConnect. EasyProfile just provides a slick way of creating really nice registration / edit my account pages.
Sorry to start down this different avenue, but EasyProfiles solves a lot of the deficiencies of the default Joomla Registration.
Thanks Alex. that removed a lot of possibilities and narrowed my targets down to a manageable number.
The Social Profiles - Joomla and Social Profiles - K2 plugins will *only* affect JFBConnect's component pages.
If I used the JFBConnect Registration Page, would it bring in the newsletter subscription check-box from Joomla Users, or would I have to modify, through an override, the JFBConnect plugin responsible for that? In your opinion, am I better off using the JFBConnect Registration flow rather than the Joomla registration flow. It will take ACYMailing two months to crank out the plugin I mentioned, in less time I could modify the JFBC plugin and add the ACYMailing code.
Again though, if you're using the Joomla registration page, whether the user gets there through a social network registration via JFBConnect or by going to that page directly, the page is controlled by Joomla and other plugins that modify it (like K2). JFBConnect *only* adds the social login buttons to that page if you have the "Integrate with Joomla Login" setting enabled. We don't add or remove any fields that are shown on that page.
Alex, in your opinion, what is the best approach to setting up the login - register -edit pages with JFBConnect?
If the K2 fields are appearing, you need to configure that in K2 (or disable the K2 - System plugin entirely). K2 Extended Profiles is not our extension, and I don't know how to configure that either.
I will look into K2 to find the answers for the display anomalies as you pointed out. In the Components -> K2 -> Users, select "Parameters" in the upper right corner of the page, Then select the "Advanced" tab near the top of that page, and set "Enable K2 User Profile" to No. That will prevent the K2 Users fields from being added to the Joomla User Profile page.
I'm didn't know that the template language override method still worked, actually. I know that was a feature of Joomla 1.5, but thought it was removed in 2.5+. I'd have to look into that ability further. There's a separate Language Override feature in Joomla 2.5 that can be used to override output language strings from the Language Manager.
As far as Language overrides, using the old method works on the dev site, but not on the live site. Using Joomla's Language Override component works, but when I add a character like 👉 Joomla doesn't seem to know what to do with it. That character is a white hand with a finger pointing left. I thought that when I configured Joomla to use Unicode UTF-8 encoding that Joomla then supports the entire character set. I noticed that Google Chrome doesn't support the entire UTF-8 character set either, Firefox does. When I edit en-GB.jfbconnect.ini in /language/en-GB 👉 displays correctly, at least, in Firefox.
This has got me stumped, because everything enabled on the dev site is enabled on the live site, in fact I put the two side by side and went down the lists for every selection in both JFBConnect and Joomla Users and User Profile and everything is exactly the same.
One thing that does involve JFBConnect and that is the Edit My Profile page is using the K2 Users information and I have specifically indicated everywhere in every plugin, module and component that I would be using Joomla Users and Joomla User - Profile and yet I am still getting the K2 fields on the Edit My Profile Page. Can you point me to the instructions for setting up the Joomla Users Registration and Edit My Profile pages again. With Users - Joomla and User - Profile as well as Social Profiles - Joomla and Social Profiles - K2 enabled I should be getting the Joomla Extended Profiles displayed on the Edit My Profile page. Do I have to turn Social Profiles - K2 off to keep the K2 fields from appearing? What about the K2 Extended Profiles plugin does this affect anything? I have Easy Profiles, but I have disabled all it's plugins as I don't want to complicate things.
There was something I did on the dev site however which involved enabling something and after that something was enabled more options appeared and then I selected those options. Don't remember where that was.
One other thing I don't understand and that is JFBConnect isn't picking up any of the Language overrides on the live site, but is picking up the language overrides on the dev site. I have to edit the files directly in /language/en-GB/en-GB.com_jfbconnect.ini and modifying /template/my-template/language/en-GB/en-GB.com_jfbconnect.ini has no effect on the live site. I wonder if this is an indication that something is amiss on the live site? Maybe a re-install of JFBConnect on the live site? The dev site is http. but the live site is https, but I made sure that everything was configured for https on the live site.
The reason I am using the Joomla Registration, Profile and Login pages instead of JFBConnect Registration, Profile and Login pages is because ACYMailing is adding a check-box through a plugin that will allow subscribing to the newsletter on the Registration page, but the plugin is for Joomla Users. I told them that JFBConnect does support Joomla Users, so If I use the Joomla Registration page, I will be able to add a check-box for users to subscribe to our newsletter at the same time they register an account. I couldn't get them to make a plugin specifically for JFBConnect, they said they would make a plugin for Joomla Users such that any component that supports Joomla Users would be able to display the Newsletter subscription check box; maybe you guys could connect?
But thanks for the attempt, I believe you are right, this is a Joomla thing and not a JFBC thing.
Thanks Alex, I created the user registration flow on a dev site first see; http://webdev.911truthoutreach.org/my-p … gistration
When I ported this over to the live site things didn't work the same even though I though I was updating files on both site as I went through the process: see: https://www.911truthoutreach.org/my-pro … gistration
I made some changes on the live site and added CSS to make the form and Captcha responsive, but otherwise I believe everything else is exactly the same.
I noticed one thing, however, and that is that JFB Connect isn't picking up the Language overrides on the live site.
Once once logged in an edit the User Profile, things are very different.
Joomla User Profile Fields Not Showing on Registration Page and K2 User Profile Fields are Showing up which I don't want to show. I will use a plugin to add the Joomla User Profile Fields to the K2.
How do I show the Joomla User Fields and Joomla User Profile fields on the Registration and My Profile pages and nothing else.
Thanks you, this clarifies the chose very well. I use the sclogin module, but I set it to use the Joomla User form. I styled the Joomla User form so I guess that I will just use that.
I am happy so far with everything, just takes time to get to know where everything is located.
One thing would like is a way to override the default images without have to replace them in /media/sourcecoast/images/provider/name-of-provider.
I would like to create a folder in /templates/my-template/html/com_jfbconnect/themes/images/provider/name-of-provider and have JFBConnct grab them from there so that they aren't over-written when I upgrade JFBConnect. You can see the icons I created at: webdev.911truthoutreach.org