Before I post my question I would like to tell you that I'm aware of few excellent django packages out there for twitter and facebook integration:
So, here's my question:
What I want?
I want to:
- Allow users to registration via facebook and twitter. (easy to implement using any of above).
- Allow multiple social accounts integration into one user account. (I think both #2 and #3 can do it.)
- Create profile from facebook or twitter data (needs extended permissions in case of fb). So, it means we also need to access data from facebook and twitter.
- Allow user to post to facebook and twitter from django app (activity as well as via forms).
- Inviting and Finding facebook friends (#3 can do it.)
- Provide same functionality as facebook app. (#3 can do it.)
- Post to user's owned facebook page. (I'm not sure if #3 can do it.)
What I think
If I had to deal with facebook only then I think Django-Facebook answers almost all of my questions. But since I also want to support twitter I'm not sure what I should do. All I can think of:
- Django-Facebook for facebook + django-social-auth or django-allauth for twitter. I'm not sure if this combination can work. Please let me know if you tried anything like that.
- django-social-auth or django-allauth only if any of these can provide aforementioned facebook functionality as well.
[Edit:] Actually I'm looking for answers to both of the following questions:
- If I choose to use django-social-auth only then can somebody point me to the samples/code snippets for interacting with facebook and twitter.
- If I want to use Django-Facbook (because it provides lot of functionality), can I choose it for facebook and django-social-auth (or django-allauth) for twitter only. I mean to say everything related to facebook using Django-facebook and everything related to twitter using social-auth or allauth. Will this combination work?
Thanks for your valuable suggestions in advance.