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
Post a Comment