Topic-icon JFBConnect and displaying Newsfeed from a facebook page

Active Subscriptions:

None
I want to display the new feed of my facebook corporate page on my website. Whats the easiest way to display the news feed...
I dont need any integration with facebook for login etc.. Just need the new feed from my public page to show up. Tried the Feed and post option under SCsocial Widget module and it keeps giving me no updates found. Any suggestion?
Thanks
The topic has been locked.
Support Specialist
9 years 6 months ago #47969 by mel
The best way to display the feed of a Facebook page on your site is to set up a channel for that page and then use the SCSocialStream module. You can see an example on at the bottom of our homepage( sourcecoast.com) named Social Stream.

If this is what you're looking for:
The guide for setting up a channel can be found at www.sourcecoast.com/jfbconnect/docs/post...reate-social-channel
The guide for setting up the Social Stream module can be found at www.sourcecoast.com/jfbconnect/docs/posting/social-streams

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hi Melissa,
Thank you for your response.
I have tried to setup the channel and am stuck at steelect user has not authenticated with xyz... Do I need to enable FB login and login as the user I select? I tried that and everytime I click on login, it popups the window says logging in as the [user]... ??
The topic has been locked.
Support Specialist
9 years 6 months ago #47977 by mel
To display the Facebook feed, you'll need to login on your site as the Facebook user who is an admin of the page. When you register (or login) the Facebook account will be associated with a standard Joomla account. You'll need to select that Joomla account in the Channels area and then follow any instructions in the Channels area (like re-authenticating and approving the manage_pages permission on the front-end) until there are no more prompts in the Channels area. Then, select the specific Facebook Page that you want to show the feed from.

Fortunately, you only need to grant permissions once and then you can work with any Pages that user owns, so it's a little annoying up front, but it's as simple as we can make it.

On a side note, I'm not sure if you've seen it, but you can also create an instance of the SCSocial Widget module configured as a Facebook -> Like Box. With that, you don't need to authenticate with Facebook and can see your stream, like in the page below:
www.sourcecoast.com/jfbconnect/features/...la-facebook-like-box
I know you mentioned the SCSocial Widget above, but just realized you mentioned the Feed and Post widgets which are for something separate.. yeah, we know Facebook has a lot of widgets, and they can be confusing :)

I hope that helps get you started,
Melissa
The topic has been locked.
Active Subscriptions:

None
so, now I am stuck at "The selected user has not granted the "manage_pages" permission. Please have them login on the front-end of the site and accept the correct permission." I cannot find anywhere where I can do this. The user id i have used has access two or three different fb pages... so I'd like to sleect which fb page news feed like I like to show..

thanks for your prompt responses.
The topic has been locked.
Support Specialist
To have the correct permissions asked, you need to login to the front-end of your site using Facebook. When you're logging in from the front-end, please check the following:
* You're logging in using Facebook
* The Facebook account you're logging in with is the same one linked to the Joomla user you selected in the Channels area
* The Facebook user is either a) an admin of the Facebook application or b) you have submitted your app for approval to Facebook to use the user_groups permission
-- To let JFBConnect read or post to a Facebook Group or Page, we must get the user_groups (or manage_pages) permission from the user. The only way to request that permission is from admins of the app *or* if the user is not an admin, you must have let Facebook approve that permission to be requested of your users.

Once there are no more notices in the Channels area and you can select the group from which to show posts, things should start working. The SCSocialStream will show posts from the group to any users that view the module, not just those logged in via Facebook.

I hope that helps explain, but if not, or you run into other issues, just let me know.

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

None
Hi Alex,
The account I used does have admin access to the fb page.
* You're logging in using Facebook
--> Yes, I click on FB login and use the fb credentials to login... I get a popup indicating logging in using fb credentials

* The Facebook account you're logging in with is the same one linked to the Joomla user you selected in the Channels area
--> Yes

* The Facebook user is either a) an admin of the Facebook application or b) you have submitted your app for approval to Facebook to use the user_groups permission
-- To let JFBConnect read or post to a Facebook Group or Page, we must get the user_groups (or manage_pages) permission from the user. The only way to request that permission is from admins of the app *or* if the user is not an admin, you must have let Facebook approve that permission to be requested of your users.
--> The user id I used to login into FB and link it to my joomla user account is the admin on the page.....
--> What do you mean when you say "submitted your app for approval to FB to use the user_groups permissions"?? Is that setting in BF orJFBConnect?

The FB page is public and the newsfeed is accessible to anyone or read... thats all I want to do... no posting back to the news feed... just want to read the newsfeed from this fb page...

In short, my requirement is to show FB Newsfeed in a module on this joomla site because the owners add/update FB occasionally.. If we can display the FB newsfeed, then they do not have to make chnages/edits to site and FB page....

Thanks
The topic has been locked.
Support Specialist
Thanks for the explanation of what's happening. Before I address the Channels issue, for what you're looking for (just displaying the Facebook stream), you may want to consider the Facebook Like Box. That can be configured by created an SCSocial Widget instance as Facebook -> Like Box. The results will look like:
www.sourcecoast.com/jfbconnect/features/...la-facebook-like-box
For that, you don't need to login with Facebook or configure any channel stuff. You just need to set the Facebook Page URL.

Channels are good for:
* Allowing you to post back to a Channel
* Fully customizing the output. You can control the HTML and CSS of each news post, if you want.
* Merging streams from multiple Facebook, Twitter or LinkedIn feeds

With that said, if you want to use the channels, it sounds like you're on the right track. My guess as to why the manage_pages permission isn't showing is due to:

--> The user id I used to login into FB and link it to my joomla user account is the admin on the page.....

--> What do you mean when you say "submitted your app for approval to FB to use the user_groups permissions"?? Is that setting in BF orJFBConnect?

To request additional permissions from a user, those extra permissions must be reviewed by Facebook. They want to know *why* you want these extra permissions from your users. To submit your app for review, you need to go into the Facebook Developer Area and click the "Status & Review" button and "Start a submission". You need to request the manage_pages permission and explain that you want to show the feed from your Page on your site.

To avoid the review/submission process, Facebook will let JFBConnect request the manage_pages permission from any users that are the administrator *of the application* (not the Page). So, if you authenticate with the Facebook user that is the admin of the App and the admin of the Page, you should be able to get the manage_pages permission without having to go through the review process.

I hope that helps explain and give you some ideas,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi,
I am now using the Social LIKE widget as per Alex's recommendation which is exactly what I need. But I have a couple of edits for this:
- Is it possible to hide the Page Name and # like ...
- Also noticed that the images are squished and not rendering the same as facebook page... is that because of the width of the like box? I can pm you the site address..
- Also, if an institution blocks Facebook, it widget is completely hidden rather than displaying that the content is blocked...

Thank you,
Avtar
The topic has been locked.
Support Specialist
Avtar,

- Is it possible to hide the Page Name and # like ...

There are options for "Show Header" and "Show Like Button" that you can disable in the module settings.

- Also noticed that the images are squished and not rendering the same as facebook page... is that because of the width of the like box? I can pm you the site address..

There is a width parameter for the module that you can use to increase the size. In general though, Facebook will squish or stretch the images as necessary to make them fit. I'd recommend not putting the like box in a narrow column.

- Also, if an institution blocks Facebook, it widget is completely hidden rather than displaying that the content is blocked...

Correct. There's nothing we can do about this as the widget is rendered by Javascript, which would completely be blocked.

Again, the Social Stream module allows for more flexibility over all these things, but takes more effort to setup. Additionally, the stream is fetched and displayed by your server, so it can't be blocked by a user's browser.

I hope that helps,
Alex
The topic has been locked.