Page 7 of 8

Re: Facebook Fan Page

Posted: 15 Feb 2012, 23:11
by Jan
Ok

Re: Facebook Fan Page

Posted: 17 Feb 2012, 20:02
by cruise2001
Jan wrote:Hi, I don't know any information about conflict between such extensions ???

cruise2001

Do you get the error while using 3.1.4 (I think, this is more a question on Facebook developers as it seems, there are still some problems :-( )

Jan
Yes, I am using 3.1.4. I generally have to delete users and recreate them, then it works for a while...then fails again. So I have to keep re-creating users to get the facebook function to work.

Re: Facebook Fan Page

Posted: 18 Feb 2012, 23:36
by Jan
Hi, I will take a look at it, the problem is, on facebook, there are still some changes without any documentation, without any info :-( :-(


Jan

Re: Facebook Fan Page

Posted: 28 Mar 2012, 22:48
by sayk
hi,

i dont know if i really understand what's going on here, since page 6. ^^
is it right, that the facebook image import extension basically doesnt work, because of some changes from facebook developers? or is it just a little problem?

maybe i just have a very easy question!
firstly, do i have to use my personal account to check in or the fanpage account?
secondly, where the hell i can find the data, i have to put in, to connect to the fanpage, i will display the albums?
(user id, base domain (the domain to my personal site or the fanpage?), security, session key (is that my personal passwort?), access token, signature)

that really beats me!

i hope somebody can help me!


best,
sebastian

Re: Facebook Fan Page

Posted: 30 Mar 2012, 18:27
by Kristoffer_hh
I found this: https://developers.facebook.com/roadmap ... s-removal/
Is this the reason for the problem?

Re: Facebook Fan Page

Posted: 03 Apr 2012, 12:22
by Jan
Hi, yes, maybe - the problem is, to connect to facebook server, you need to have newly created access token, so in Phoca Gallery you should go to facebook section and reconnect and replace new data, then you should be able to import/export images. But (yes, this is the problem) sometimes the access token will expire :-( and for now I didn't find any other possibility to connect Facebook and not lose the token :-( (really hard because the documentation is sometimes obsolete and e.g. php classes created for this purpose do no work correctly :-( )

Jan

Re: Facebook Fan Page

Posted: 04 Apr 2012, 23:19
by Jan
For now, access tokens needs to be refreshed :-(, see info at the bottom here:
https://www.phoca.cz/documents/2-phoca-g ... ook-albums

Jan

Re: Facebook Fan Page

Posted: 26 May 2012, 00:53
by sgofferj
I don't have any logout from facebook button as I also didn't have the connect with facebook button.
The parts are there in the html source but firebug shows them greyed out and size 0x0.
That might be because the button which is to be displayed (http://static.ak.fbcdn.net/rsrc.php/zB6 ... i2k73z.gif) does not exist at fb...

Using PG 3.2.0 @J!2.5.4

Re: Facebook Fan Page

Posted: 26 May 2012, 14:28
by pasker
Well, it seems to me like Phoca Gallery uses the wrong approach to access the Facebook albums/photos in general. I think that the access token (and maybe other data) shouldn't be stored as the part of the user/fanpage information but should be requested/renewed at runtime (and, for example, stored only as the session data for the period of time the Joomla user is logged to Joomla administration). And the list of users/fanpages should be used only as the list of possible sources of Facebook albums/photos. At this time it is really neccesary to renew the user info (access token etc.) almost everytime I want to do some modifications to Facebook categories (create new one or import images to existing one). My idea looks like this:
  • There should be the list of possible Facebook sources (user profile ID or fan page ID) which has allowed the Facebook Application to access their data.
    When the Joomla user requests the list of Facebook albums or tries to import images from ceratin album, he should be authenticated as the current Facebook user and access token should be requested or renewed if it has expired (and possibly stored as the part of Joomla session data). I mean that "Facebook source" daoesn't need to be necessarily the same as current Facebook user who wants to access its data (albums, images...)

Re: Facebook Fan Page

Posted: 30 May 2012, 15:23
by Jan
Hi, will be great if someone can paste some working guide for this.

I have used both methods to connect facebook but the used only worked. So this was set in Phoca Gallery, the other didn't work so for now, maybe, we need to wait, until Facebook will use some other method :-(

But of course if someone will find out some "better working" method to connect Facebook will be great and appreciated - can be then implemented to the code.

Jan