Giter VIP home page Giter VIP logo

gwt-facebook's People

Stargazers

Neseek avatar

Watchers

James Cloos avatar

gwt-facebook's Issues

JavaScript error in FacebookConnect.requireSessionNative() running on localhost:8888 with GWT 2.0.0

Steps to reproduce:
1. Configure FB app with Connect URL: http://localhost:8888/
2. Copy API key from the FB app to SampleApp.java
3. Deploy the application in development mode and run it on localhost:8888
4. Click on "Login with facebook connect"

Expected output:
A Facebook Connect request in a pop-up

What do you see instead?
An exception in development shell because of JavaScript error in 
FacebookConnect.requireSessionNative()

Version:
gwt-facebook-1.0-BETA9.jar, gwt-2.0.0

Stack trace:
Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (null): null
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:284)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
    at com.gwittit.client.facebook.FacebookConnect.requireSessionNative(FacebookConnect.java)
    at com.dragonsblaze.firemoth.client.SampleApp$LoginClickHandler.onClick(SampleApp.java:53)
    at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:54)
    at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:1)
    at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.fireEvent(HandlerManager.java:65)
    at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access$1(HandlerManager.java:53)
    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:178)
    at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52)
    at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
    at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:100)
    at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307)
    at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263)
    at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
    at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
    at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by [email protected] on 26 Jan 2010 at 8:23

I can't get the lib running

I'm trying to make a test for the lib running the SampleApp.

The only that i see in my hosted page is:

gwt-facebook sample app
Waiting for facebook connect state...

And nothing else happens.

I'm using gwt-facebook-1.0-BETA10.jar

How must i configure the Facebook Application? I created a FB App and in the 
"Web Site" tab of the configuratión i putted this: 
http://127.0.0.1:8888/SampleApp.html?gwt.codesvr=127.0.0.1:9997

What i'm missing? 

Original issue reported on code.google.com by [email protected] on 19 Nov 2010 at 12:42

class FbPromprPermission has hardcoded permissions, needs generalized case

What steps will reproduce the problem?
1. want to prompt the user for any combination of permissions
2.
3.

What is the expected...?
I expected to be able to use any combination of Enum FacebookApi.Permission 
when constructing the control.


What version of the product are you using? On what operating system?
1.0-BETA6
Checked out October 28, 2009 11:49:02 AM


Please provide any additional information below.
Original class code is very simple and probably made for a specific use 
case. Unfortunately its doesn't match the use case I'm working on.

public class FbPromptPermission extends ComplexPanel {

    public FbPromptPermission () {
        setElement ( DOM.createElement("fb:prompt-permission" ) ) ;
        getElement().setAttribute("perms", 
"read_stream,publish_stream");

        addStyleName ("gwittit-FbPromptPermission" );

        add ( new HTML ( "Grant permission for status updates" ), 
getElement() );
    }
}


Original issue reported on code.google.com by andy.stevko on 29 Oct 2009 at 6:26

ClassCastException in FacebookConnect.showPermission DialogNative

the problem is explained here http://groups.google.com/group/gwt-
facebook/browse_thread/thread/e6ef9beebf58af5c?hl=en

the corrections I made are in the attached file

also, I made an exception handling on FacebookApi.Permission.valueOf(res) 
because the FB js returns the full list of permissions if the one requested 
is not accepted by the user (tested it on Permission.offline_access)


Original issue reported on code.google.com by [email protected] on 19 Apr 2010 at 11:24

Attachments:

Cannot cancel SubmitEvent in Development Mode

What steps will reproduce the problem?
1. Create a form
2. add a new SubmitHandler with event.cancel()

What is the expected output? What do you see instead?
The form submission should be canceled. But the form is submitted anyway

What version of the product are you using? On what operating system?
GWT 2.0.3 in chrome 5.0.375.70 on win7 64

Code sample:
form.addSubmitHandler( new SubmitHandler() {
        @Override
        public void onSubmit(SubmitEvent event) {
            if(validate()) {
                // do some processing here
            }
            else event.cancel(); // submits anyway
        }
    });


Original issue reported on code.google.com by [email protected] on 28 Jun 2010 at 3:38

SampleApp LoginLink not working

Hi,

I'm trying to run SampleApp and I have problems with the login. 
If I go to my facebok app via http://apps/facebook/my-app/ the login is ok and 
I'm able to see my friends list. However, If I go directly to my application 
(http:/localhost/appdir/myapp) the login link does not work (see attached 
image).
The problem may be the configuration of my facebook aplication...
I've set up the Canvas url like that: 
http://localhost/appdir/myapp.html?

Any help would be appreciated.

Thanks in advance, 

Idoia


Original issue reported on code.google.com by [email protected] on 10 Sep 2010 at 8:58

Attachments:

Hangs waiting for waitUntilStatusReady

I've downloaded the sample and code from SVN, when I run SampleApp, it just 
hangs waiting for the WhenReadyCallback .

Do I need to change / update something from SampleApp ?

Original issue reported on code.google.com by [email protected] on 20 Jun 2010 at 8:04

Features not working in Safari

Stream_get does not work, the session parameter is not properly passed. 
FBML code does not always render properly. The same functions tested in 
Firefox and Chromium work fine though.

Original issue reported on code.google.com by joshsimerman on 2 Feb 2010 at 10:29

Ejemplo sencillo

Hola, sabes que quiero hacer funcionar el ejemplo que muestras en "Project
Home", pero por alguna razón, cuando lo cargo nunca me pide que haga login
ni nada.

La version que estoy utilizando es la gwt-facebook-1.0-BETA9.jar

atte.

WPL

Original issue reported on code.google.com by [email protected] on 30 Nov 2009 at 9:06

Stream get not working in IE(Internet Explorer)

What steps will reproduce the problem?
1. loggedin GWTfacebook (on http://gwittit.appspot.com/#stream_get)  
2.
3.

What is the expected output? 
Streams(POSTs ... )

What do you see instead? 
Javascript error ("request_args" is null or not an object) ??? 

What version of the product are you using? 
the last (gwt-facebook-1.0-BETA9.jar)

On what operating system?
Windows




Original issue reported on code.google.com by [email protected] on 30 Jan 2010 at 12:27

Attachments:

Licence

Hi,

your project looks very promising.

However, I do am missing the licence under which you are going to release
the project, and I couldn't find another way to contact you...

Can you tell us what the licence is for this project?

Original issue reported on code.google.com by [email protected] on 8 Oct 2009 at 7:11

More of a question...

I just started using the library today and was able to run the example app. 
Everything works fine. However, when I run it in my app, FBCore.init(...) works 
and I am able to see the FB object in the DOM (using Firebug). However, I 
cannot seem to get the fb:login-button to show. The markup for fb:login is 
grayed out in Firebug. 

Any obvious reasons why this could be happening?

Thanks, 
mic

Original issue reported on code.google.com by [email protected] on 6 Oct 2010 at 1:46

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.