MyBB Community Forums

Full Version: Posting newsfeed to facebook ..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Good Idea! I hope that I can do it and share with you if succeed.

I have a permission from user to post on facebook, and the user is already logged to facebook.

All I need is to know where I should put my code to post on facebook while the user creating new thread or new reply.

Again, there will be option while the user creating new thread or new reply like this
1- > Signature: include your signature. (registered users only)
2- > Disable Smilies: disable smilies from showing in this post.
3- > Publish on facebook

[Image: attachment.php?aid=23283]

if the user checked "Publish on facebook", it will post a short newsfeed about his thread/reply on facebook.
but i don't know where is the part which posting the new thread to database so while the the system inserting the new thread to database, I will use the code to post newsfeed to facebook.

I hope that you can understand the idea and help me out!


Thanks
Fady