How did you fix that exactly?

How can I put the facebook sharing button  with the jquery bbq?
Could you explain the steps the you made?
thanks
hugosousajrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

racmail2001Commented:
0
Lukasz ChmielewskiCommented:
0
hugosousajrAuthor Commented:
Hi guys, thanks for yours answers.
Genius, I saw this post, it was the post that brought me here.
Guru, Your answer help me so much understand it, But it doesn 't  work so well.
I find a solution in some site that I dont remember.
First you put this code below the <body> tag
 
<body>	
<div id="fb-root"></div>
<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId  : '199749270116840',
      status : true, // check login status
      cookie : true, // enable cookies to allow the server to access the session
      xfbml  : true  // parse XFBML
    });
  };

  (function() {
    var e = document.createElement('script');
    e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
    e.async = true;
    document.getElementById('fb-root').appendChild(e);
  }());
</script>

Open in new window

After you make the button:
<img id = "share_button" src = "'.JURI::base().'templates/beez_20/images/facebook_icon.png">
	
				<script type="text/javascript">
					$(document).ready(function(){
						$("#share_button").live("click", function(e){
							e.preventDefault();
							FB.ui(
							{
								method: "feed",
								name: "'.$article->title.'",
								link: "'.$link.'",
								picture: "'.$linkImage.'",
								caption: "'.$article->titulo_resumido.'",
								description: "'.$article->resumo_noticia.'",
								message: ""
							});
						});
					});
				</script>

Open in new window


The facebook is changing your API sharing, I realized that there are diferents ways to do it.
Who have the old way, continue, but you cant to do it work in new project.

thanks for all
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

hugosousajrAuthor Commented:
The solution have restriction when you want the count in button
0
hugosousajrAuthor Commented:
to better explain
0
hugosousajrAuthor Commented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.