Forums

OverviewV-Play 2 Support (Qt 5) › facebook share image

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #11854

    Bas

    hi,

    i want to share an image from inside an app to post on facebook.

    What would be the best route to do this using the facebook plugin?

    thanx

    #11861

    Alex
    V-Play Team

    Hi Bas,

    Our plugin currently does not support sharing multimedia content directly, this is a feature which probably comes with one of the next updates. For now you can save that image somewhere on a web server and just post that link to Facebook (Facebook adds a preview image to the timeline then).

    Best,

    Alex

    #11896

    Bas

    hi Alex,

    i have an app in landscape mode, but the facebook dialog is in portrait mode.

    can i force the dialog to show up in landscape mode?

    #11927

    Alex
    V-Play Team

    Hi,

    Which Facebook dialog do you mean? Regarding the login, it should be possible to add the “android:screenOrientation” attribute set to “landscape” or “sensorLandscape” to the

     <activity android:name="com.facebook.LoginActivity" />

    definition within your AndroidManifest.xml file.

    Best,

    Alex

    #11929

    Bas

    hi Alex,

    on IOS:

    The facebook login dialog is schown in portrait mode, the app is in landscape only.

    #11930

    Alex
    V-Play Team

    Hi,

    Which dialog on iOS do you mean? The main way is switching to the native Facebook app if installed. Do you have a screenshot by hand?

    Thanks,

    Alex

    #11931

    Bas
    #11933

    Alex
    V-Play Team
    #11934

    Bas
    #11938

    Alex
    V-Play Team

    You’re absolutely right, sorry for that! I just pushed the new version to GitHub, please download the latest framework from there and make sure that you adapt your project file to match the following lines for integrating Facebook:

            ios {
              # Facebook framework
              LIBS += -F$$PWD/ios
              LIBS += -framework FacebookSDK
              LIBS += -framework Security
              LIBS += -framework SystemConfiguration
            }

    Please let me know if that fixes your issue!
    Best,

    Alex

    #11939

    Bas

    hi Alex,

    thanx, but i get errors with the project settings you gave, what worked for me was:

    looking up the FacebookSDK directory after installing the FacebookBOOK 3.20 pkg file downloaded from facebook,

    and copy the FacebookSDK dir to the ios dir of my project.

    then add this to my project file:

    LIBS += -F$$PWD/ios/FacebookSDK
    LIBS += -framework FacebookSDK

    LIBS += -framework Security
    LIBS += -framework SystemConfiguration

    are the last to additions necessary?

    #11940

    Bas

    hi alex,

    what will happen if the facebookSDK version is higher then 3.20?

    #11941

    Bas

    hi Alex,

    just another question abaut facebook SDK version usage:

    i saw this in facebook:

    Automatically Log App Events for In-App Purchases on iOS (Recommended)Logging App Events for In-App Purchases will allow you to see your in-app purchase events in your Insights dashboard and in ads reporting. This feature requires SDK version 3.22 or newer. Notice: To avoid double logging, you should not explicitly log in-app purchases via the Facebook SDK if this feature is turned on.

     

    i noticed that facebook mentioned SDK version 3.22, can i use this SDK version without trouble?

    #11942

    Alex
    V-Play Team

    Yes you can use version 3.22 (you should be fine with all 3.2x versions, we however only tested up to 3.22 for now), that’s actually the version we use in our updated example on GitHub.

    Best,

    Alex

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

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support