Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo Plugins Support › Facebook

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #8192

    Nour

    Hi

    iam trying to integrate facebook to my game

    but when run app on android, i got this message in the log

    W/Qt (25025): qrc:///qml/VPlay/gamenetwork/gnView/AchievementView.qml:89 ((null)): qrc:///qml/VPlay/gamenetwork/gnView/AchievementView.qml:89:3: QML Connections: Cannot assign to non-existent property “onUserAchievementsChanged”

    W/Qt (25025): vppluginitem.cpp:75 (virtual void VPPluginItem::componentComplete()): ERROR: Invalid license key set for plugin: “VPlay.plugins.facebook” “1.0”

     

    Please advice

    #8195

    Christian
    Felgo Team

    Hi,

    please generate a licenseKey for the facebook plugin (and provide your app id) here

    Cheers, Chris

    #8196

    Nour

    Thanks Chris, I requested few IDs

    BTW, Are you hiding this link?, i cant find it in the website , i can only generate license for app!!

    #8197

    Christian
    Felgo Team

    We did not push the documentation that contains the link yet, sorry for the issues. For now please use the provided link to generate a licenseKey per plugin and app.

    Cheers, Chris

    #8492

    Jan

    I’ve got strange output on Android when I try to use the Facebook plugin. I followed the guidelines and looked them over not only once. I downloaded the latest SDK; I don’t know if that maybe can cause issues. Here is just the beginning of the Debug output:

    I/dalvikvm(20219): Failed resolving Lnet/vplay/plugins/facebook/FacebookItem$1; interface 603 'Lcom/facebook/Session$StatusCallback;'
    W/dalvikvm(20219): Link of class 'Lnet/vplay/plugins/facebook/FacebookItem$1;' failed
    E/dalvikvm(20219): Could not find class 'net.vplay.plugins.facebook.FacebookItem$1', referenced from method net.vplay.plugins.facebook.FacebookItem.<init>
    W/dalvikvm(20219): VFY: unable to resolve new-instance 796 (Lnet/vplay/plugins/facebook/FacebookItem$1;) in Lnet/vplay/plugins/facebook/FacebookItem;
    D/dalvikvm(20219): VFY: replacing opcode 0x22 at 0x0003
    W/dalvikvm(20219): VFY: unable to find class referenced in signature (Lcom/facebook/model/GraphUser;)
    

     

    #8493

    Christian
    Felgo Team

    Did you try the Facebook sample from GitHub? It’s best to use the Facebok SDK provided with the sample – maybe there is an incompatibiltiy with the latest Facebook SDK, we’ll check that…

    Cheers, Chris

    #8496

    Jan

    Hey, I shifted the Facebook Item from a scene to being a child of the GameWindow and in the project.properties I changed android.library.reference.1 to android.library.reference.2 (I’m not too familiar with android, but as I’ve got Chartboost included as well, I thought that might be a good idea.) I also implemented the facebook sdk stuff from the example now. Afterwards the issue has changed to:

    D/Qt      (26793): qrc:///qml/VPlay/gamenetwork/gnView/ProfileView.qml:187 (onStateChanged): qml: VPGN: ProfileView: changed fbConnectioState to facebookNotConnected
    W/System.err(26793): java.lang.NullPointerException
    W/System.err(26793): 	at com.chartboost.sdk.impl.be.d(SourceFile:392)
    W/System.err(26793): 	at com.chartboost.sdk.Chartboost.setShouldPrefetchVideoContent(SourceFile:767)
    W/System.err(26793): 	at net.vplay.plugins.chartboost.ChartboostItem.setShouldPrefetchVideoContent(ChartboostItem.java:126)
    W/System.err(26793): 	at dalvik.system.NativeStart.run(Native Method)
    D/dalvikvm(26793): GC_CONCURRENT freed 1559K, 20% free 6934K/8583K, paused 2ms+2ms
    W/Qt      (26793): vppluginitem.cpp:75 (virtual void VPPluginItem::componentComplete()): ERROR: Invalid license key set for plugin: "VPlay.plugins.facebook" "1.0"

    I definitely did put in the license key I received, but let me order a new one and see if that solves the problem.

    • This reply was modified 9 years, 4 months ago by  drosophila.
    #8498

    Christian
    Felgo Team

    Are you sure you have the correct app identifier set (the one you requested the license for) in your AndroidManifest.xml for Android and .plist for iOS?

    Cheers, Chris

Viewing 8 posts - 1 through 8 (of 8 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded