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
Interesting. I'd like to see this done.
Hey people!
waiting your help .. I think that I can code it but need your help and inform me which part in mybb script i should put my code ... ?
Facebook using their own script and css, it difficult to implement since facebook read active thread, not pre-made thread.
The easiest way using this snippet and put it under first post/thread
good idea