Can I use the google chat image on google app engine? - python

I am writing an app using python on GAE. I figure since I'm using google logins as the authentication for my users, why can't I use each users google chat picture as their user portrait? However I haven't found a way to access that info. Maybe I've been using facebook api's for too long, but is there any way to access that information?
Chris

There is a separate API for retrieving a user's profile information, which unfortunately does not currently support profile pictures.

Related

Create a Gmail account in Django using Python?

I'm working on a Django project and wanted its users to have the ability to create a Gmail account directly through our site.
Is anyone familiar with a way to do so?
If not, I was thinking of embedding Google's account creation page directly into the Django site, but I'm still unsure of how to do that.
Any suggestions would be great.
Thanks!

Django Auth: Use external service (without Django-social-app)

How could I do to allow users to link their Gmail or Facebook account in my Django App ?
I'd like to avoid my clients to register in my site if they have an account in any of the common sites (Gmail, Facebook etc...)
I know the app Django Social Auth can be used for this purposes but I'd like to know how to do this auth by my own.
Can anyone point me to some documentation or small example ?
I'd like to do this kind of authentication by my own, without external app, I'm looking for information not anybody to solve my code
Thanks
Actually, you can try to find an example how to use OAuth2 technology in Django from different django app. I use django-allauth and you can try to copy some techniques from them.

How can i Integrate google login in to my application ? Python

I have created an Online Quiz aplication. I have kept simple registration form that if the user is not registered, he will first register himself and then can enter into quiz.
Now I want that If the user doesn't wish to register, he can directly use his google account login and can enter into application.
How do isuppose to do that. I have read the stuff regarding Google API OAuth2.0 API, but not getting
I think this blog will help you,here s code for enabling google auth.
http://catherinetenajeros.blogspot.in/2013/03/google-loginregistration.html
Here you can find the code that is used with python, Django.

Developing for the RenRen social network

I have a Django-based API to interact with social networks, and I would like to integrate with RenRen.
My main problem is not a programming one, but how to create an application for RenRen. I try to navigate the site http://app.renren.com/ using Google Translate to help, but I can't create an app.
I am always redirected to the page to input my information. I am wondering wether I need to input all my personal information and have it verified before I can create an app. On top of that, I am not of Chinese nationality, so I don't have an identity document that would be acceptable.
Can anybody with experience developing for RenRen shed some light on how to create an app?
the best link for Renren dev is :http://wiki.dev.renren.com/wiki/%E7%A7%BB%E5%8A%A8%E5%AE%A2%E6%88%B7%E7%AB%AF%E6%8E%A5%E5%85%A5
Yes, Renren requires developer a Renren registered account. However, ID document is not required for the registration, only username, email, password are required. So there should be no problem for you to create a Renren app.
Just same as other API service, Oauth 2.0 is employed for authorization. The Renren dev document is not as good as those of Google or Facebook, but it works.

Facebook connect on Google App Engine with Django Patch

We are building a website on Google App Engine, using django patch.
We would like to use Facebook connect for two purposes:
Authenticate users.
Access user's social data.
Searching for a solution in the usual places (google, FB, SO) brigs up a lot of noise, many partial solutions and no clear answer.
So the question is this: does anyone has a clear working solution? maybe even a recipe?
Thanks.
Honza: we where looking for something that also does authentication Django style.
We ended up doing the login on the client side than sending an AJAX request to Django and wrote our own authenticate/login logic.
Once we get the user's credentials, we use PyFacebook for FB connectivity.

Categories