Advertisement:

Author Topic: SA Facebook Integration  (Read 1035508 times)

Offline MrLiNk88

  • Newbie
  • *
  • Posts: 6
Re: SA Facebook Integration
« Reply #2720 on: July 19, 2012, 01:26:33 PM »
hello,

can i use this mod for my forum? my forum is hxxp:board.germandayz.de [nonactive]

i dont understand to create a facebook app, can anybody help me please?

Offline Texan78

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
    • WeatherConnectionForum on Facebook
    • @WxConnection on Twitter
    • Weather Connection
Re: SA Facebook Integration
« Reply #2721 on: July 19, 2012, 02:12:55 PM »
I don't understand why clicking the link returns back to where the link was clicked from.

I followed the code:

<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://biology-forums.com/Themes/default/images/fb_connect.png" alt="" /></a>


It's because of a what I highlighted in red. It is anchored to what's in the url which keeps it on the page which it clicks and not pointed to a page or script.

Offline Nityananda Maity

  • Semi-Newbie
  • *
  • Posts: 35
  • Gender: Male
  • Old/lost days inspire me
Re: SA Facebook Integration
« Reply #2722 on: July 20, 2012, 12:10:58 AM »
Hello,

can i use this mod for my forum? my forum is http://board.germandayz.de

i dont understand to create a facebook app, can anybody help me please?
First you have to install this mod successfully, after that go here to create a Facebook apps
https://developers.facebook.com/apps. After creating a apps on facebook, just collects this information 1)App ID/API Key and 2)App Secret, then go your forum and enter this information. and done. Also don't share 1 and 2 information to others.
If you want any help, you can feel free to pm me.
Thanks

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,747
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: SA Facebook Integration
« Reply #2723 on: July 20, 2012, 01:31:07 AM »
Hello,

can i use this mod for my forum? my forum is http://board.germandayz.de

i dont understand to create a facebook app, can anybody help me please?
First you have to install this mod successfully, after that go here to create a Facebook apps
https://developers.facebook.com/apps. After creating a apps on facebook, just collects this information 1)App ID/API Key and 2)App Secret, then go your forum and enter this information. and done. Also don't share 1 and 2 information to others.
If you want any help, you can feel free to pm me.
Thanks

Nityaa99, I've already done that and actually used this mod for a year and a bit. Just not this occurred. Why could this be?

Offline Nityananda Maity

  • Semi-Newbie
  • *
  • Posts: 35
  • Gender: Male
  • Old/lost days inspire me
Re: SA Facebook Integration
« Reply #2724 on: July 20, 2012, 02:46:20 AM »
Hello,

can i use this mod for my forum? my forum is http://board.germandayz.de

i dont understand to create a facebook app, can anybody help me please?
First you have to install this mod successfully, after that go here to create a Facebook apps
https://developers.facebook.com/apps. After creating a apps on facebook, just collects this information 1)App ID/API Key and 2)App Secret, then go your forum and enter this information. and done. Also don't share 1 and 2 information to others.
If you want any help, you can feel free to pm me.
Thanks

Nityaa99, I've already done that and actually used this mod for a year and a bit. Just not this occurred. Why could this be?
I already using it successfully. so please describe your methods...
thanks

Offline LOVELORD

  • Sophist Member
  • *****
  • Posts: 1,068
  • Gender: Male
    • www.balkanhosting.eu
Re: SA Facebook Integration
« Reply #2725 on: July 20, 2012, 04:50:52 PM »
LInks in first post not work? Hwo to crreate facebook application?

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,747
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: SA Facebook Integration
« Reply #2726 on: July 21, 2012, 02:35:01 PM »
If someone can please help me work this for 1.x like it did a week ago, I will pay money. Let me know what a fair price would be.

Offline DutchJam

  • Jr. Member
  • **
  • Posts: 109
    • jamaicaforum.nl on Facebook
    • @jamaicaforumnl on Twitter
    • Het Nederlands Jamaica Forum
Re: SA Facebook Integration
« Reply #2727 on: July 25, 2012, 11:38:19 AM »
Now this is weird...

I installed this mod successfully on my SMF 2.0.2 Forum.

Then I point my browser to https://developers.facebook.com/apps to get an App ID, API Key and on & on but I am redirected to my own page on Facebook.

Anybody familiar with this?

Tnx!
-----
JamaicaForum.nl: http://www.jamaicaforum.nl

Offline Texan78

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
    • WeatherConnectionForum on Facebook
    • @WxConnection on Twitter
    • Weather Connection
Re: SA Facebook Integration
« Reply #2728 on: July 28, 2012, 04:53:33 PM »
Any suggestions for theses?

http://www.simplemachines.org/community/index.php?topic=365503.msg3342041#msg3342041

http://www.simplemachines.org/community/index.php?topic=365503.msg3342116#msg3342116

-Thanks

Any suggestions for the to issues in the links above?

-Thanks

Anyone offer some help for this from the links above?

Ok this has gone on long enough... WILL PAY FAIR AMOUNT to have some minor cosmetic changes done. Nothing even major, just moving the position of a couple of items from the links above. Should be easy for someone fluent in how these mods work since it's not actually in a template, or I would do it myself. Please PM with a fair price for this minor work.

Offline Texan78

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
    • WeatherConnectionForum on Facebook
    • @WxConnection on Twitter
    • Weather Connection
Re: SA Facebook Integration
« Reply #2729 on: July 31, 2012, 10:16:16 PM »
I have a couple of errors I am curious about how to fix. The first one is highlighted in with the red box. I see where the code is the file for the rest of the meta, but don't see one for the one its describing. Any ideas or suggestions?



The second one, the image speaks for itself. The part where it says it "could not retrieve the specified page" Any idea why that is happening? It just recently started doing that.



Other then those two minor issues everything else seems to be working correctly at the moment. Any suggestions or ideas?

-Thanks

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Facebook Integration
« Reply #2730 on: July 31, 2012, 11:36:15 PM »
for the one in the second image you can sort this in fb admin  i think it under soccial fan box page url or somthing been time since i looked at it

fo the first image

the tiny og:image tell you whats wrong the image  needs to be at least 200px again you can chnage this in fb admin open grath to change the image

meta with name instead of property

Code: [Select]
<meta name="copyright" content="© Copyright 2012 by Weather Connection" />
<meta name="author" content="Weather Connection" />
<meta name="language" content="English" />
<meta name="publisher" content="Weather Connection" />
<meta name="audience" content="Weather" />

you have this in you template i have a feeling t will conflict with fb tags as there strict <meta property instead of <meta  name this may also be why you get the og:image errors
http://samods.github.io/SAChatBar/

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

Offline Texan78

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
    • WeatherConnectionForum on Facebook
    • @WxConnection on Twitter
    • Weather Connection
Re: SA Facebook Integration
« Reply #2731 on: August 01, 2012, 01:18:55 AM »
for the one in the second image you can sort this in fb admin  i think it under soccial fan box page url or somthing been time since i looked at it

Yea it was in the Admin under social Facebook page url. I was still using my old FB url instead of the new. Guess I forgot to update it. Got it updated and that error went away and it works fine.

fo the first image

the tiny og:image tell you whats wrong the image  needs to be at least 200px again you can chnage this in fb admin open grath to change the image

Yea, it's small as it's below 200px. I knew about that one, that's a easy fix.

meta with name instead of property

Code: [Select]
<meta name="copyright" content="© Copyright 2012 by Weather Connection" />
<meta name="author" content="Weather Connection" />
<meta name="language" content="English" />
<meta name="publisher" content="Weather Connection" />
<meta name="audience" content="Weather" />

you have this in you template i have a feeling t will conflict with fb tags as there strict <meta property instead of <meta  name this may also be why you get the og:image errors

In the FacebookHooks.php I noticed this code for the meta, it has nothing about author, does there need to be? Would that help because it's looking at the normal meta tags for that name? What's a work around for that? Any that can be added?

Code: [Select]
$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').'" />';

-Thanks!

Offline pushkardua

  • Semi-Newbie
  • *
  • Posts: 67
Re: SA Facebook Integration
« Reply #2732 on: August 01, 2012, 01:36:40 PM »
what will be the user password?

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,570
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SA Facebook Integration
« Reply #2733 on: August 01, 2012, 01:39:37 PM »
what will be the user password?
I believe the user picks their own password
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline pushkardua

  • Semi-Newbie
  • *
  • Posts: 67
Re: SA Facebook Integration
« Reply #2734 on: August 01, 2012, 01:42:07 PM »
what will be the user password?
I believe the user picks their own password
nope when we ragister with this connect then it directly made an account with fb username but fb password is not working

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Facebook Integration
« Reply #2735 on: August 01, 2012, 03:21:00 PM »
are you talking about auto registration method? if so this is a automaticly genarated password it just doesnt send the pass to the user i never got that far :D

@Texan78

meta with name instead of property

Code: [Select]
<meta name="copyright" content="© Copyright 2012 by Weather Connection" />
<meta name="author" content="Weather Connection" />
<meta name="language" content="English" />
<meta name="publisher" content="Weather Connection" />
<meta name="audience" content="Weather" />

you have this in you template i have a feeling t will conflict with fb tags as there strict <meta property instead of <meta  name this may also be why you get the og:image errors

realy this may just be your issue try removing that then validate the page again if it work then that is your issue
http://samods.github.io/SAChatBar/

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

Offline nend

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,755
  • 2 deep n2 the code
    • sicommnend on GitHub
    • SIComm.us
Re: SA Facebook Integration
« Reply #2736 on: August 01, 2012, 04:05:12 PM »
You know the open graph standard isn't complete or one method or requirement isn't set in stone yet. I don't go by Facebook standards but by the ones on this site - http://ogp.me/

However I have been using images around 50 to 100px without any complaint from Facebook. Check out my site in my sig and share something, you will notice the open graph code works ok. Well there is one area I need to fix and that is YouTube videos in the gallery but everything else should work.  ;)

As for author, I currently don't use that tag for anything, I may implement it though.

Offline LOVELORD

  • Sophist Member
  • *****
  • Posts: 1,068
  • Gender: Male
    • www.balkanhosting.eu
Re: SA Facebook Integration
« Reply #2737 on: August 01, 2012, 08:32:45 PM »
Hello,

I install Pretty URLs mod and install SA Facebook integration mod.. And all thing working just i have few problems...

On mesegesindex page i have this problem:


Also on facebook I have this problem:


But on my URL Bar I have this adress:
http://www.site.tld/general-discussion/asdsdasdas/

and i want this url been showed on facebook. Is there any way how this can be done?

Offline phtomay

  • Newbie
  • *
  • Posts: 8
Re: SA Facebook Integration
« Reply #2738 on: August 01, 2012, 11:10:54 PM »
HELP!!!

After successfully installing the mod, i got this error message

Code: [Select]
Fatal error: Uncaught exception 'Exception' with message 'Facebook needs the CURL PHP extension.' in C:\xampplite\htdocs\osu\facebookauth\base_facebook.php:19 Stack trace: #0 C:\xampplite\htdocs\osu\facebookauth\facebook.php(18): require_once() #1 C:\xampplite\htdocs\osu\Sources\Facebook\FacebookHooks.php(819): include('C:\xampplite\ht...') #2 C:\xampplite\htdocs\osu\Sources\Facebook\FacebookHooks.php(119): SAFacebookhooks::face_load() #3 [internal function]: SAFacebookhooks::Facebook_register_override() #4 C:\xampplite\htdocs\osu\Sources\Subs.php(4189): call_user_func_array(Array, Array) #5 C:\xampplite\htdocs\osu\Sources\Load.php(296): call_integration_hook('integrate_pre_l...') #6 C:\xampplite\htdocs\osu\index.php(71): reloadSettings() #7 {main} thrown in C:\xampplite\htdocs\osu\facebookauth\base_facebook.php on line 19

So, i enabled my php curl extension by uncommenting (removing) the (;) extension=php_curl.dll in my php.ini configuration file. restarted my local server. but cannot access my site again.... ERROR MESSAGE >>>>> Firefox can't find the server at localhost.com.

Thank you for your response

Offline Texan78

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
    • WeatherConnectionForum on Facebook
    • @WxConnection on Twitter
    • Weather Connection
Re: SA Facebook Integration
« Reply #2739 on: August 02, 2012, 01:52:00 AM »
are you talking about auto registration method? if so this is a automaticly genarated password it just doesnt send the pass to the user i never got that far :D

@Texan78

meta with name instead of property

Code: [Select]
<meta name="copyright" content="© Copyright 2012 by Weather Connection" />
<meta name="author" content="Weather Connection" />
<meta name="language" content="English" />
<meta name="publisher" content="Weather Connection" />
<meta name="audience" content="Weather" />

you have this in you template i have a feeling t will conflict with fb tags as there strict <meta property instead of <meta  name this may also be why you get the og:image errors

realy this may just be your issue try removing that then validate the page again if it work then that is your issue

Well see that is where the problem is. I don't have a meta tag for author at all. Not sure if it's looking for one or what or where it would be.

This is from my index.template.php and these are the only meta tags I have in there.

Code: [Select]
echo '
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta name="description" content="', $context['page_title_html_safe'], '" />', !empty($context['meta_keywords']) ? '
<meta name="keywords" content="' . $context['meta_keywords'] . '" />' : '', '
<title>', $context['page_title_html_safe'], '</title>';

This is in FacebookHooks.php that is for the open graph.

Code: [Select]
$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').'" />';
   
      $buffer = str_replace('</title>','</title>'.$open_graph, $buffer);
}

When you view the source this is what shows.

Code: [Select]
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

<meta name="description" content="Weather Connection Forum is your online source for weather enthusuasts" />
<meta name="keywords" content="Weather, Station, weather, Virtual, Cumulus, GRLevelX, american, forums, Display, Personal, Nexrad, Stations, Davis, forum, PWS, websites, lightning, Boltek, radar" />
<title>Weather Connection Forum - Your Online Source For Weather Enthusiasts</title>
<meta property="fb:app_id" content="REMOVED FOR PRIVACY" />
                <meta property="og:type" content="article" />
<meta property="og:locale" content="en_US" />
                <meta property="og:title" content="Weather Connection Forum - Your Online Source For Weather Enthusiasts" />
                <meta property="og:image" content="http://www.mesquiteweather.net/weatherconnection/images/WC-FB_Logo.png" />
                <meta property="og:description" content="Weather Connection Forum - Your Online Source For Weather Enthusiasts" />
                <meta property="og:url" content="http://www.weather-connection.com/index.php" />


So as you can see there is no meta property or meta name for Author. So is it saying there needs to be one?

-Thanks