View Thread
 Print Thread
Facebook Connect user_online_presence Error
Evil20071
I have tried to figure this out for about an hour now. I've gone through I think all the appropriate steps to set this up on http://southernsp...hasers.org , however, when I click the button I get the following FB error:

Quote

Invalid Scopes: user_online_presence. 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: https://developer...ermissions


I have no clue what is going wrong. Any suggestions?
 
Evil20071
I'm going to have to disable the infusion until I come up with a solution. I'm going to switch it back to the original User Info panel rather than the custom FB Connect panel.
 
NetriX
Hello,

I'm aware of the situation and have a v3 of this infusion in development that will be PHP-Fusion 7.02 and v9 compatible.

For the time being, you can try removing "user_online_presence" from around line 332 in /infusions/connect/index.php

Change:

$loginUrl = $facebook->getLoginUrl(array("scope" => "email, user_online_presence, publish_actions, user_website", "redirect_uri" =>
            "http://" . $settings['site_host'] .
            "/infusions/connect/index.php?comeback=true"));


To:

$loginUrl = $facebook->getLoginUrl(array("scope" => "email, publish_actions", "redirect_uri" =>
            "http://" . $settings['site_host'] .
            "/infusions/connect/index.php?comeback=true"));


Hopefully it'll work as a temporary solution for you.

Your problem only occurs to the developers listed whom created the facebook app. Users should be able to login/register without issue.

Kind Regards,
NetriX
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the [url=https://php-fusion.co.uk/articles.php?cat_
 
https://netrixhosting.com
penehoff
I get the same error but my coding is different , i dont even see the line your talking about to edit it out and when i searched for the words "user_online_presence" it says it cant be found.
 
http://unsignedandindependentbands.com/
NetriX

Quote

penehoff wrote:

I get the same error but my coding is different , i dont even see the line your talking about to edit it out and when i searched for the words "user_online_presence" it says it cant be found.

Look a littler closer, you're most likely missing it. If it's not there, your version is probably older than the current 2.3.7.

Confirmed it's there with Facebook Connect 2.3.7 - line 332.
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the [url=https://php-fusion.co.uk/articles.php?cat_
 
https://netrixhosting.com
penehoff
Got it, thanks
 
http://unsignedandindependentbands.com/
Evil20071
I also had to change line 345 and remove that callback from the button function. It no longer throws that error when I click the button. However, it does not login nor does it link my FB account to my site account.
 
NetriX
Hmm, I'll have to investigate some more when I get the chance. Facebook recently changed their API and made the 2.3.7 essentially deprecated. Although it still worked for me with a user account, the Facebook developer account stopped working.

As stated before, I'm building a v3 on top of the current Facebook API that will work on PHP-Fusion 7.02 and 9. It should be out sometime this month if all goes well and v9 RC gets released.
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the [url=https://php-fusion.co.uk/articles.php?cat_
 
https://netrixhosting.com
mrijkhals
Hi Netrix.

Is there any news around a new version maybe ?
I donwloaded the latest version and got the error message where i needed to change the loginurl.

Still, even when this all was changed, nothing became loaded from the facebook account. So when the register screen pops-up, the user name was not filled in and also the email address was empty while it was set to public on facebook.

Isn't it supposed to import these values to use and save in the database ??
 
NetriX
I'll have it for sure (at least working for 7.02) before or on Tuesday 8/11.

Been quite busy with work.

Kind regards.
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the [url=https://php-fusion.co.uk/articles.php?cat_
 
https://netrixhosting.com
mrijkhals
Ok, that's cool man.... i will receive a notification.... then we'll go and test.
 
mrijkhals
What is the status of the new version Netrix... ?
Any news ?
 
NetriX
I'll update it to v2.3.9 today or tomorrow. Being hit with overtime at work. Sad
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the [url=https://php-fusion.co.uk/articles.php?cat_
 
https://netrixhosting.com
mrijkhals
Ok,.... please PM me if you finished it... then i can test.


regards
Marc
 
NetriX
I apologize to everyone patiently awaiting the next release. I was hit with more overtime, 100 hour paycheck, and I'm moving to another house this weekend. Just been so busy! Anyways, today and tomorrow are my off days, I will work on this infusion!

Kind Regards.
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the [url=https://php-fusion.co.uk/articles.php?cat_
 
https://netrixhosting.com
Jump to Forum
Similar Threads
Thread Forum Replies Last Post
Instalation error in PHP 5.5 General Support 2 01-03-2019 19:20
Facebook Connect 3.0.0 [7.02.XX] Infusions 31 07-07-2018 04:55
Facebook Connect 2.3.7 Infusions Support 10 01-03-2017 10:45
Facebook Login Infusions Support 4 12-11-2016 13:32
Facebook connect and Fusion 9.0 Infusions Support 8 08-04-2016 16:02