javascript - 'Log is not defined' error in fb share -


iam trying share page of website in facebook , iam using function share:

var publish = {                   method: 'feed',                   message: 'getting educated facebook connect',                   name: 'connect',                   caption: 'the facebook connect javascript sdk',                   description: (                       'a small javascript library allows harness ' +                       'the power of facebook, bringing user\'s identity, ' +                       'social graph , distribution power site.'                   ),                   link: 'http://fbrell.com/',                   picture: 'http://fbrell.com/f8.jpg',                   actions: [                     { name: 'fbrell', link: 'http://fbrell.com/' }                   ],                   user_message_prompt: 'share thoughts rell'                 };  fb.ui(publish, log.info.bind('feed callback'));//this line shows error 

but while running code error log not defined. wrong code????


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -