News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SA Facebook Integration

Started by SMFHacks.com Team, February 12, 2010, 01:36:11 PM

Previous topic - Next topic

osckar

Hi:

I'm using this mod with SMF 2.0.2 and I get this error when a user tries to register or an already registered user clicks on the Facebook configuration in profile:

QuoteAn error has occured

OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username

Any help is appreciated.

Thanks!

distante

Quote from: SA™ on April 03, 2012, 10:33:58 AM
echo SAFacebookhooks::facebook_showPub(
    array(
        'subject' => 'subject',
'body' => 'body',
'href' =>'url,
'txt_label' => 'Whats on your mind',
        'isPost' => false,
    )
);


same as before but slitly different this is whats used in the facebook tab check you self in the facebook.template.php

echo SAFacebookhooks::facebook_showPub(
    array(
        'subject' => $context['forum_name'],
'body' => !empty($settings['site_slogan']) ? $settings['site_slogan'] : '',
'href' => $scripturl,
'txt_label' => $txt['fb_woym'],
        'isPost' => false,
    )
);


Thanks. I Will try this when I'm in my laptop

mcdrecords

Hi i'm french user and when i installed this mod, it show me this: Une erreur s'est produite. Veuillez réessayer plus tard.
Not possible to login with facebook.
Please any help?
My forum: hxxp:mcdrecords.com/forum [nonactive]

Thx

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

glennk

Hi guys, im getting these errors. Any advice please ??

1.    Execute Code    install.php    
   2.    Extract Tree    ./Sources/Facebook    
   3.    Extract File    ./Themes/default/Facebook.template.php    
   4.    Extract File    ./Themes/default/FacebookAdmin.template.php    
   5.    Extract File    ./Themes/default/images/facebook.png    
   6.    Extract Tree    ./facebookauth    
   7.    Extract File    ./Themes/default/languages/Facebook.english.php    
   8.    Extract File    ./Themes/default/languages/Facebook.english-utf8.php    
*    9.    Execute Modification    ./index.php    Test successful
*    10.    Execute Modification    ./Sources/Admin.php    Test successful
*    11.    Execute Modification    ./Themes/default/index.template.php    Test successful
*    12.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test failed
      1.    Add Before    ./Themes/default/BoardIndex.template.php    Test successful
      2.    Add After    ./Themes/default/BoardIndex.template.php    Test failed
*    13.    Execute Modification    ./Themes/default/Display.template.php    Test successful
*    14.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test failed
      1.    Add After    ./Themes/default/MessageIndex.template.php    Test successful
      2.    Add After    ./Themes/default/MessageIndex.template.php    Test failed
*    15.    Execute Modification    ./Sources/ManagePermissions.php    Test successful


Nitesh Kunnath

#2546
Errors in log :(
What maybe the issue ?

Quotehttp://forum.gizmolord.com/index.php?action=facebookintegrate;area=auto;agree
The database value you're trying to insert does not exist: mem
Function: face_USettings
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 960

Quotehttp://forum.gizmolord.com/index.php?action=facebookintegrate;area=auto;agree
The database value you're trying to insert does not exist: email_address
Function: registerMember
File: (server path)/Sources/Subs-Members.php
Line: 594

Nitesh Kunnath

Also, I want to remove this portion (marked with red)

Any way ?

Pyrhel

Any news about the site with the guide for creating the FB application?

Mike_A

Quote from: Pyrhel on April 15, 2012, 07:50:21 AM
Any news about the site with the guide for creating the FB application?

Just go to developers . facebook . com/apps and then click "+Create New App"
Then just fill in the boxes such as your sites address, etc. If you are unsure about anything, just hover your mouse over the [?] symbol.

Mike

Eugeanne

I'm just new here but I think this one is a really good move.

Nahaz

Is it possible to control what information from Facebook get filled in certain fields on your profile?

Some examples:
I want a field with full real name
Automaticly set avatar to facebook picture (on association or registration)


Another thing, if you have facebook only registration, and it's on auto, no password is set and you can't change your forum profile.

Pyrhel

Quote from: Mike_A on April 15, 2012, 07:23:27 PM
Quote from: Pyrhel on April 15, 2012, 07:50:21 AM
Any news about the site with the guide for creating the FB application?

Just go to developers . facebook . com/apps and then click "+Create New App"
Then just fill in the boxes such as your sites address, etc. If you are unsure about anything, just hover your mouse over the [?] symbol.

Mike

Thank you and i managed to make it work, but unfortunately that not what i've expected from this.

tectonny

I installed now and in the struggle, the tutorial was down:
http://www.sa-smf.com/community/index.php?action=kb;area=cats;cat=1

Would anyone i can test to see if it worked:
http://www.tectonny.com/forum/index.php

MESWEB

#2554
How to fix UTF-8 characters?

billis_2

I have install SA Facebook Integration 2.0 RC4 REV58
and i have w3 Validation Output: 7 Errors, 9 warning(s)



pippo1

Quote from: billis_2 on April 21, 2012, 03:43:42 PM
I have install SA Facebook Integration 2.0 RC4 REV58
and i have w3 Validation Output: 7 Errors, 9 warning(s)

in base_facebook.php riga 958
search:

$url .= '?' . http_build_query($params, null, '&');


replace

$url .= '?' . http_build_query($params, null, '&');



in FacebookHooks.php riga 425
search:

$open_graph = '
<meta property="fb:app_id" content="'.$modSettings['fb_app_id'].'" />
<meta property="og:type" content="article" />
<meta property="og:locale" content="'.(empty($modSettings['fb_admin_intern1']) ? $modSettings['fb_admin_intern1'] : 'en_US').'" />
<meta property="og:title" content="'.$context['page_title_html_safe']. '" />
<meta property="og:image" content="'.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'" />
<meta property="og:description" content="'.$context['page_title_html_safe'].'" />
<meta property="og:url" content="'.(empty($context['current_topic']) ? $scripturl : $scripturl .'?topic='.$context['current_topic'].'.0').'" />';


replace

$open_graph = '<script type="text/javascript">
<![CDATA[<meta property="fb:app_id" content="'.$modSettings['fb_app_id'].'" />
<meta property="og:type" content="article" />
<meta property="og:locale" content="'.(empty($modSettings['fb_admin_intern1']) ? $modSettings['fb_admin_intern1'] : 'en_US').'" />
<meta property="og:title" content="'.$context['page_title_html_safe']. '" />
<meta property="og:image" content="'.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'" />
<meta property="og:description" content="'.$context['page_title_html_safe'].'" />
<meta property="og:url" content="'.(empty($context['current_topic']) ? $scripturl : $scripturl .'?topic='.$context['current_topic'].'.0').'" />//]]></script>';



bye.

BoxingChaos

Dear SA™. I want to install this app but all the instructions are gone because they are all on your website that is DOWN. Any news of when you will be back, so I can install this?
Thank you.

www.BoxingSquad.com/forum

tectonny

How to solve the problem of accent?

Advertisement: