• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Facebook SDK updates for xenForo

Monday Facebook changes effecting xF

Mike Edge

Formerly Da Bookie Mon
#1
Mike Edge submitted a new resource:

Facebook SDK updates for xenForo (version 1.0) - Monday Facebook changes effecting xF

With all the changes that took place on Monday. There are a few things outdated in xF in regards to facebook.

Currently Open Graph (og) does not flush and update changes when you update og meta's.

To fix this, open index.php

After <?php

add:

PHP:
if($_GET['fbrefresh']){
$canological_url = '?refresh='.$_GET['fbrefresh'];
}else {
$canological_url = '';
}
Next, there have been several versions of js SDK updated since the xF version. This will update you to latest FB SDK and...
Read more about this resource...
 

DRE

Well-known member
#7
A developers job should be done more seriously, especially if they charge for the software.
I was remarking on how as webmasters we have to continually update our sites due to changes to outside influences, such as Facebook. The state of Xenforo's development cycle does not bother me because as a community we enhance the software in ways the developers can't due to their own restrictions.
 

Mike Edge

Formerly Da Bookie Mon
#8
A developers job should be done more seriously, especially if they charge for the software.
Agree 101% but in all fairness to KAM no one but them knows what they can and can't do for xF updating during this money sink better known as a law suit along with if there are any restrictions on what they are allowed to discuss in regards to the case during such time. Anyway, let's please not derail yet another thread with this.
 

dihuta

Formerly Dinh Thanh
#11
Code:
if($_GET['fbrefresh']){
$canological_url = '?refresh='.$_GET['fbrefresh'];
}else {
$canological_url = '';
}
To prevent undefined index notice, This should be:

Code:
if(isset($_GET['fbrefresh'])){
$canological_url = '?refresh='.$_GET['fbrefresh'];
}else {
$canological_url = '';
}
 

Mutt

Well-known member
#13
you said to replace the entire contents of fb_channel with your text. just to clarify, does that include the first line?
Code:
<?php
because it seems like I'm just supposed to replace the script line.

just checking before I break something
 

RoldanLT

Well-known member
#14
you said to replace the entire contents of fb_channel with your text. just to clarify, does that include the first line?
Code:
<?php
because it seems like I'm just supposed to replace the script line.

just checking before I break something
Good point, Waiting for the answer.
 

Mike Edge

Formerly Da Bookie Mon
#15
you said to replace the entire contents of fb_channel with your text. just to clarify, does that include the first line?
Code:
<?php
because it seems like I'm just supposed to replace the script line.

just checking before I break something

Nope not needed as everything between the <? and ?> is removed.
 

giorgino

Well-known member
#19
I'm going crazy :(

No FB login integration...

Code:
{
  "error": {
      "message": "Invalid redirect_uri: L'URL inserito non \u00e8 consentito dalla configurazione dell'applicazione.",
      "type": "OAuthException",
      "code": 191
  }
}