I have an open chat in my site. That means all users can write to public chat. This chat created in nodej+redis. So, I need that each message from each user will post to twitter for this user and to Facebook wall for this user. For example. User A post to chat some message and this message also post to user A twitter and user A Facebook wall. Please help - how I can do this.
You need the exact code? I can help you to find resources. For Facebook I'll explain step by step:
Here are some links to relevant documentation:
https://developers.facebook.com/docs/guides/web/
https://www.facebook.com/blog/blog.php?post=41735647130
https://developers.facebook.com/docs/howtos/login/getting-started/