Re: Facebook login button

2013-05-06 Thread Mohammad Al-Quraian
I don't think that Scribe is gwt safe, so what I did is handle most of the 
login process on the server side. Unfortunately, I couldn't find easy tutes 
for that. Most importantly you have to understand how OAuth works (which is 
easy especially  v.2).

Then try to implemented yourself, here are a few pages that may help you:
https://code.google.com/p/gwt-examples/wiki/DemoGwtGData
http://stackoverflow.com/questions/8991955/doing-oauth-with-scribe-for-gwt

There's a complete sample project for OAuth with GWT:
https://code.google.com/p/gwtoauthlogindemo/

But the code is bad and confusing, I found out that the process is easier 
than portrayed  by this project.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Facebook login button

2013-05-05 Thread Leung
Hi,


It seems that there is no scribe.gwt.xml file.

Then, can you show how can I import the external jar and configure the inherits 
tag of the .gwt.xml?


Thanks



 From: Mohammad Al-Quraian 
To: google-web-toolkit@googlegroups.com 
Sent: Friday, May 3, 2013 4:33 PM
Subject: Re: Facebook login button
 


You can check this page on facebook:
https://developers.facebook.com/docs/facebook-login/getting-started-web/

You probably have to use OAuth protocol for that. There an easy library that 
helps you manage that in the server side:
https://github.com/fernandezpablo85/scribe-java?source=cr
It also shows many example to do OAuth management for many websites including 
Facebook.

On Friday, May 3, 2013 5:35:23 PM UTC+3, Larissa Costa wrote:
Hi,
>
>
>I've never worked with the facebook and I need help.
>
>
>I have a website (GWT) and I wanted to connect it with facebook to get some 
>information about the user. For example, put a login button on the home page 
>of my site.
>
>
>Does anyone know how I can do this? Anyone have one example?
>
>
>Thank you
>
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Facebook login button

2013-05-03 Thread Mohammad Al-Quraian
You can check this page on facebook:
https://developers.facebook.com/docs/facebook-login/getting-started-web/

You probably have to use OAuth protocol for that. There an easy library 
that helps you manage that in the server side:
https://github.com/fernandezpablo85/scribe-java?source=cr
It also shows many example to do OAuth management for many websites 
including Facebook.

On Friday, May 3, 2013 5:35:23 PM UTC+3, Larissa Costa wrote:
>
> Hi,
>
> I've never worked with the facebook and I need help.
>
> I have a website (GWT) and I wanted to connect it with facebook to get 
> some information about the user. For example, put a login button on the 
> home page of my site.
>
> Does anyone know how I can do this? Anyone have one example?
>
> Thank you
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Facebook login button

2013-05-03 Thread Leung
Hi,

Spring is a good choice but, for me, the learning curve is too steep since I 
don't know Spring and annotation at all. I am looking at socialauth now.

Thanks




 From: Larissa Costa 
To: google-web-toolkit@googlegroups.com 
Sent: Friday, May 3, 2013 7:35 AM
Subject: Facebook login button
 


Hi,

I've never worked with the facebook and I need help.

I have a website (GWT) and I wanted to connect it with facebook to get some 
information about the user. For example, put a login button on the home page of 
my site.

Does anyone know how I can do this? Anyone have one example?

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Facebook login button

2013-05-03 Thread Larissa Costa
Hi,

I've never worked with the facebook and I need help.

I have a website (GWT) and I wanted to connect it with facebook to get some 
information about the user. For example, put a login button on the home 
page of my site.

Does anyone know how I can do this? Anyone have one example?

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.