× Joomla Facebook Connect support forum

Topic-icon Few questions

Active Subscriptions:

None
15 years 2 months ago #8520 by fb_615289796
Few questions was created by fb_615289796
This weekend i purchased the JFCBconnect package and everything went smoothly. But i had some questions or minor issues that i ran in to.
When logged in on the site with facebook and you close everything and return to the website, you are not logged in. When you click for instace on an article to read it, it logs you in, but does not return to the article witch you wanted to reach. Instead it returns to the category of where the article is in.

On the Facebook developer website we can get a glimpse of what graph can do, but can we implement some features of it through FCBconnect or is this not possible without coding much? For example for displaying an album of a fanpage (developers.facebook.com/docs/reference/api/album/). Will all of the graph functions be available in the future releases of the component?

How can we insert the livefeed into an article? also with a tag like {JFBCLivefeed}?

Sorry for al the questions ;-)
Thanks in advance!
The topic has been locked.
Support Specialist
15 years 2 months ago #8526 by alzander
Replied by alzander on topic Few questions
No problem for all the questions. That's what we're here for, and what your subscription entitles you to. Ask away!

When you say that you 'close everything down', this generally means that your session with Facebook will be closed too (logged out). In this case, if you return to the site you won't be automatically logged back in. If you're logged into Facebook in another tab, the 'Automatically log facebook users in' setting is enabled and then you're not seeing the login occur, let us know. That's not right behavior.

As for when you log in, it not redirecting you properly, it's probably your configuration for "Enable Returning User Redirection:". I would recommend setting this to 'no'. That way, when a use is logged in, they won't be directed to a different page on your site and should remain where they are. Hopefully that fixes that problem, but if not, let us know.

Regarding Graph functionality, more features will be added with every release. The next release (3.2, due out in a few weeks), will have the Open Graph API tags which let you specify things like the Image and Link to use when a user Like's a page. However, it's important to note that not all features will be implemented directly by us. The link you point to is a way to 'get' information from Facebook. You can already do a lot of Graph calls with JFBConnect right now, but the display, formatting, and use of that data would be very site dependent. If you have (or are) a developer, we can gladly help you to implement features to fetch this information, but we won't be putting a default view for all possible Graph calls for quite a while, if ever. Hope that makes sense as to why.

Finally, regarding LiveStream, in 3.1, there's no tag for adding that to your site. In 3.2, that tag (as well as all the other module tags) will be available. For now, to include it in an article, you should create an instance of the JFBCLiveFeed module, put it in the position of "jfbclivefeed" (for example). Then, in your article, you can just put {loadposition jfbclivefeed}. This uses the Content - Load Module plugin, included with Joomla, to load a specific module. That should do what you're looking for.

Good luck, and let us know if you have any other questions!
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #8539 by fb_615289796
Replied by fb_615289796 on topic Few questions
With 'closing everything down' i meant closing the window/tab within the browser and then re-open the website in a window/tab. So when i visit my site and return after a few hours, i'm not logged into my site. When clicking a random link within my site, the automatic login suddenly works and does not take you back to an article but to the category of the article although redirect option is set to off (it should return to the page requested i thought).

Regarding to graph, is this how we can use it within a site:
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');

require_once (JPATH_ROOT.DS.'components'.DS.'com_jfbconnect'.DS.'libraries'.DS.'facebook.php');
$fbClient = JFBConnectFacebookLibrary::getInstance();
$PageID = 'platform'; //Page ID or Page Name of your page, example platform (Facebook platform)
// Info: http://developers.facebook.com/docs/reference/api
$fbMyFeed = $fbClient->api('/me/feed');
$fbPageFeed = $fbClient->api('/$PageID/feed');
?>

Already thanks for the fast response!
The topic has been locked.
Support Specialist
15 years 2 months ago #8550 by alzander
Replied by alzander on topic Few questions
That's strange behavior about the login. One thing you may want to try to do is move the JFBCSystem plugin to the highest ordering (or even the lowest ordering), and see if that helps. The automatic login should occur.. automatically, and every time, but it's possible there's some other plugin that's firing that could be causing problems. Hopefully, one of those orderings will help, but if not, let us know.

As for the Graph API, yup, you got it. It should be pretty easy, once you have that data, to format it and output it however you want. If you have any other questions on how it works, just let us know.

Thanks, and good luck!
The topic has been locked.