[Unsupported] Facebook Mobile Extension - OpenFL

DoctorXero

  • Posts: 15
I'm getting an error when building my game.   Not really sure what to do about a .plist being corrupted.  Any ideas?

Here's the last bit with the relevant part:

[LOG] === BUILD TARGET Test Game OF PROJECT Test Game WITH CONFIGURATION Release ===
[LOG] Check dependencies
[LOG] Create product structure
[LOG] Finished building for iOS (or errored out): 1
[LOG] /bin/mkdir -p /Users/me/stencylworks/games-generated/Test\ Game/Export/ios/build/Release-iphoneos/Test\ Game.app
[LOG] ProcessInfoPlistFile build/Release-iphoneos/Test\ Game.app/Info.plist Test\ Game/Test\ Game-Info.plist
[LOG]     cd "/Users/me/stencylworks/games-generated/Test Game/Export/ios"
[LOG]     setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/me/Desktop/Stencyl-full/plaf/neko-mac:/Users/me/Desktop/Stencyl-full/plaf/haxe:/Users/me/Desktop/Stencyl-full/plaf:/usr/bin:/bin:/usr/sbin:/sbin"
[LOG]     builtin-infoPlistUtility /Users/me/stencylworks/games-generated/Test\ Game/Export/ios/Test\ Game/Test\ Game-Info.plist -genpkginfo /Users/me/stencylworks/games-generated/Test\ Game/Export/ios/build/Release-iphoneos/Test\ Game.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -resourcerulesfile /Users/me/stencylworks/games-generated/Test\ Game/Export/ios/build/Release-iphoneos/Test\ Game.app/ResourceRules.plist -o /Users/me/stencylworks/games-generated/Test\ Game/Export/ios/build/Release-iphoneos/Test\ Game.app/Info.plist
[LOG] error: couldn't parse contents of '/Users/me/stencylworks/games-generated/Test Game/Export/ios/Test Game/Test Game-Info.plist': The data couldn’t be read because it has been corrupted.
[LOG] ** BUILD FAILED **
[LOG] The following build commands failed:
[LOG]    ProcessInfoPlistFile build/Release-iphoneos/Test\ Game.app/Info.plist Test\ Game/Test\ Game-Info.plist
[LOG] (1 failure)

EDIT: I should add that this problem started after adding this plugin, and that the game built cleanly before.


EDIT 2:  Disregard.  I put the <key> tags in the wrong spot.

« Last Edit: February 22, 2014, 11:45:43 am by DoctorXero »

DoctorXero

  • Posts: 15
Can someone briefly explain the ACTIONS[Name, Link] part of the feed dialog block?

GeorgeN

  • Posts: 859
Can someone briefly explain the ACTIONS[Name, Link] part of the feed dialog block?

If you want to put extra something. "Get Exotic Egg" it's an action. "get exotic egg" it's the name and the link well its a link.
Be very careful to have the image and the link with this format:
Link: https://developers.facebook.com/docs/ios/share/
img: http://i.imgur.com/g3Qc1HN.png

By default a share dialog have a Like and a Comment button.

DoctorXero

  • Posts: 15
Thanks.  Does the image have to match or reference the images defined in the Facebook>App Details>Icons area?

Right now my game shows the permissions dialog, but disappears when I touch the OK button.

GeorgeN

  • Posts: 859
I was using 91x91 images but here: https://developers.facebook.com/docs/games/feed it says 600x600 and minimum 200x200.

DoctorXero

  • Posts: 15
I was using 91x91 images but here: https://developers.facebook.com/docs/games/feed it says 600x600 and minimum 200x200.


My app doesn't get that far.  It asks for permission to use Facebook, I click OK, and nothing happens. 

EDIT:  Oh.  The Facebook bundle ID is the same as the Stencyl app ID.  Ok.  Fixed.

« Last Edit: February 22, 2014, 04:21:38 pm by DoctorXero »

szzg007

  • Posts: 58
Why I can't Install Extension in my Stencyl3?
I has  unzip the file. Obtain a directory. But do not know which file should read? I also tried directly to the ZIP file. But invalid. Is there a detailed screenshot installation process?

TwistedIdentity

  • *
  • Posts: 242
Getting a white screen in preview everytime this plugin is enabled in my project...

My Critter Android http://bit.ly/1gJyUs4
TI's FB Page: http://on.fb.me/1ijla4Y
Deadly Space Boss Arena 2: http://goo.gl/KIuowG

Follow me on Twitter: @jettas88

kinglir

  • Posts: 93
Great work!
Our word game must have the following feature and I would really appreciate any help.
A 'Share' button that post on the player's Facebook wall a screenshot of the game (current status, in run-time).
 iOS will be enough for now.

Can you add this feature ? Maybe using this ?
http://community.stencyl.com/index.php/topic,29025.0.html

« Last Edit: February 26, 2014, 02:32:23 am by kinglir »

Gintonic

  • Posts: 69
Maybe it's useful for someone:

I've added 4 new blocks to recieve informations from friends and the player.
For example, your can use the picture url to show the profile pictures of the player and his friends in your game.


Friends Data List:

[ 0 ]
   [ 0 ] Id
   [ 1 ] Name
   [ 2 ] Picture Url
   [ 3 ] Picture is_silhouette (0/1)
[ 1 ]
   [ 0 ] Id
   [ 1 ] Name
   ...
   
Player Data List:

[ 0 ] Id
[ 1 ] Name
[ 2 ] Picture Url
[ 2 ] Picture is_silhouette (0/1)


Picture info:

The API only specifies the maximum size for profile images, not the actual size.
Square: maximum width and height of 50px.
Small: maximum width of 50px and a maximum height of 150px.
Normal: maximum width of 100px and a maximum height of 300px.
Large: maximum width of 200px and a maximum height of 600px.
You can set width and height as per your need. Though facebook doesn't return the exact size asked for, it returns the closest dimension picture available with them.

is_silhouette: If a friend has no picture selected (is_silhouette = 1)

gkhanni

  • *
  • Posts: 252
1) Installing inthebox-macros on haxelib: Done
2) Creating application on Facebook: Done
3) Downloading extension pack and unzip it under plat/haxe/extensions: Done
4) Copying code in PROJ-Info.plist and changing fb123456789123 between App_Id strings: Done with TextEdit (not opened with Xcode it says: Data could not be read because it has been corrupted, but it saved with TextEdit)
5) Opening game, enabling extension under settings, re-opening game: Done

There are no any blocks under Custom / Extensions it is full empty. I can work with other extensions well but not with this. Any suggestions? 

I have trouble installing the extension.
I can't see the extension anywhere inside Stencyl, after installing it.
Also editing the .plist file is problematic.
And now just gives me 3-4 lines of code after trying to edit it. :/

Tried the "custom Facebook share button" but can't get this to work either..
As soon as I typed in a title and summary, the links does not work anymore.
It would be enough for me for now, if I could get at least the share button to work.

Hope someone can help me..

« Last Edit: March 13, 2014, 08:57:53 am by GameheartStudios »

sandsoftimer

  • Posts: 316
I have trouble installing the extension.
I can't see the extension anywhere inside Stencyl, after installing it.
Hope someone can help me..
I am also facing this problem,  Ialso can't see the extension anywhere inside Stencyl, after installing it but in extension folder it exist.
iOS ->          

Android ->
iOS -> Bubble Tapping
 Android -> Bubble Tapping

sandsoftimer

  • Posts: 316
Hmmm, it must be latest build problem. this extension is working for me with earlier build.
iOS ->          

Android ->
iOS -> Bubble Tapping
 Android -> Bubble Tapping

LePoulpe

  • Posts: 181
When I try to install inthebox-macros in the Terminal, I get :
"No such Project : inthebox-macros"