Customizing SMF > Modifications and Packages

SA Facebook Integration

<< < (548/672) > >>

SA™:
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

--- Quote from: SA™ on July 31, 2012, 11:36:15 PM ---
meta with name instead of property


--- Code: ---<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" />
--- End code ---

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

--- End quote ---

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

nend:
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.

LOVELORD:
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?

phtomay:
HELP!!!

After successfully installing the mod, i got this error message


--- Code: ---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

--- End code ---

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

Texan78:

--- Quote from: SA™ 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

--- Quote from: SA™ on July 31, 2012, 11:36:15 PM ---
meta with name instead of property


--- Code: ---<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" />
--- End code ---

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

--- End quote ---

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

--- End quote ---

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: ---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>';
--- End code ---

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


--- Code: ---$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);
}
--- End code ---

When you view the source this is what shows.


--- Code: ---<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" />


--- End code ---

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

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version