shepherdgames's Forum Posts

  • CDogs1964 No, my friend. You have to set up test app within the app on your facebook developer. You created an app on the account but it's not live yet. It's still in development phase, in order to make the app work you will have to create a test app under the 'Test Apps' column of your app. Now, provide the test app ID in C2 and replace the code in Intel XDK with

    <intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/cordova-plugin-facebook" intelxdk:value="https://github.com/cranberrygame/cordova-plugin-facebook" >

    <intelxdk:param intelxdk:name='APP_ID' intelxdk:value='311180863621111' />

    <intelxdk:param intelxdk:name='APP_NAME' intelxdk:value='Avoid Bird' />

    </intelxdk:plugin>

    Build the app and test it. It should work now.

  • CDogs1964 Create a test app on your developer account of facebook and try with that. That worked for me. In order to make the facebook share work, you need to submit your app to the facebook to get it reviewed and approved. In the mean while, you can make the share work with the test app.

    Try it and let me know if you are able to make it work.

  • yumyum This plugin is great. When I run the capx example you provided, it is working fine but when I apply same events in my project, it isn't working. I'm not sure where it went it wrong.

    https://www.dropbox.com/s/okdu66geml0vmfw/Screenshot%202015-12-31%2013.06.09.png?dl=0

    I just added four events to display touch inputs using text objects as similar to the example.

    In my project, I need to detect the second touch and create an object at the second touch position while the first touch is on. The object is being created at the first touch position even when second touch input is given.

    Please help.

  • I somehow managed to get the 'two finger touch' thing work but when the second touch input is given the object is being created only at the first finger. Object should be created at the touch of first finger and when it's still in touch, I wanna create second object at the touch of second finger.

    Anyone knows a solution?

  • Hi,

    I'm developing an iOS game, in that I need the app to record the users' phone screen and send it to my mail ID. If the screen recording doesn't work, at least I need the couple of screenshots of the users' phone screen and send them to my mail ID. Below are things I need

    ? send the video to my email similar to the way a form would be sent with an attachment on a website where the email is being sent from the website rather than from another email.

    • The video must be attached to the email as a video format that can open and play using a standard video viewing application such as the application QuickTime player on the Mac.

    ? Remember that this is not being sent as a sent email through the user’s logged in email on apple’s built in app “Mail”. It is being sent like a form on a website that has text fields and the ability to attach a file.

    If not, I need the same with at least screenshots.

    I followed few tutorials but they aren't working. The tutorials used webstorage but now we have only local storage.

    Could someone help me with step to step on the process?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • CDogs1964 Yes, please let me know the output after using it. I somehow managed to share on facebook using cranberry's facebook plugin. Here are the steps that I followed:

    1. Step up the app on your facebook developers account.

    2. Add a platform, android or iOS or windows, of which you are developing.

    3. Add a testapp within the main app just created.

    I use intel XDK to build the app

    4. Then follow this link https://dl.dropboxusercontent.com/u/186 ... index.html

    The cranberry's facebook plugin is working for me.

  • condolent What you said is correct but this iOS game which I'm developing is for my client. He wants this facebook share feature. Anyways, thanks you so much for your time.

  • condolent I'm planning to transfer the whole project from Cordova to Ejecta. Do know any way to integrate facebook share for the project?

  • condolent Thank you, I will follow your advice. Also please tell me whether I could integrate facebook share and apple account login/logout for a user on the game.

  • condolent Thanks for response. It was said that Ejecta was depreciated and recommended to use Cordova instead. I'm using windows operation system, may be running the OS X on a virtual machine would work.

    Is there a way integrating the Game Services using Cordava?

  • Kyatric thanks for response. I also used the official C2 plugin, but it isn't working. Could please help me with that?

    Here are the steps I followed

    "I tried the official C2 fb plugin, I created a test app to in the main app on my facebook developer account. I inserted the App ID and App Secret in the plugin. When I try that on my desktop browser it shows the below error.

    "Given URL is not permitted by the Application configuration: One or more of the given URLs is not permitted by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."

    I tired testing on my device thinking that it would work on the device, as I added IOS platform on my facebook developer account, but when I hit the share button nothing is happening.

    Here are the events I defined,

    On start of layout -> Facebook plugin -> login

    On touch share

    -> Facebook plugin, if logged in -> share on wall "Some Text"

    else

    -> Facebook plugin -> login

    -> share on wall "Some Text""

  • Somebody please help.

  • Hi,

    I am developing an IOS game. I created leaderboard on the game centre of Apple. I'm exporting the project through Cordova and building the app using Intel XDK. I used the C2 Game Centre plugin in the project. When I try to upload the file, I'm getting some error and asking me to install Xcode.

    I thought to use cranberry game plugin but it looks like it is only for android.

    Please suggest me a way to setup the leaderboard in the app.

    Did anyone build an IOS game with leaderboards on C2?

    Please help.

  • Hi,

    I'm developing an IOS game. The game is complete, now I want to share score of a user when the user hits the share button.

    I tried the official C2 fb plugin, I created a test app to in the main app on my facebook developer account. I inserted the App ID and App Secret in the plugin. When I try that on my desktop browser it shows the below error.

    "Given URL is not permitted by the Application configuration: One or more of the given URLs is not permitted by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."

    I tired testing on my device thinking that it would work on the device, as I added IOS platform on my facebook developer account, but when I hit the share button nothing is happening.

    Here are the events I defined,

    On start of layout -> Facebook plugin -> login

    On touch share

    -> Facebook plugin, if logged in -> share on wall "Some Text"

    else

    -> Facebook plugin -> login

    -> share on wall "Some Text"

    Because the official facebook plugin is not working, I tried the cranberryfacebook plugin. I defined the events similar to the events defined with the official facebook plugin. I tired testing on the device using intel XDK test app. Same has happened, it's not working. I tried uploading the app through the apploader of iTunes Connect but it is not getting uploaded. Earlier, without cranberry plugin it got uploaded.

    Does this plugin works for IOS?

    Please help me with a solution.

  • Hi,

    I'm developing an IOS game. In the game, a user must prevent a ball from exiting the boundaries of the screen. To prevent the ball from exiting the boundaries, the user must interact with the ball to bounce it away from the screen by placing his/her finger on the screen at the point the user would like to bounce the ball away from.

    Here, I got two problems: one, I wanna show the path of the ball by creating a line of path below the ball. I have a green path sprite.

    Two, I wanna use second finger at the same time the first finger is in touch with the screen to bounce the ball away from, which means I wanna use two fingers at a time.

    I'm not sure how make these work. Please help.