h1k3's Recent Forum Activity

  • Th Facebook plugin by Ashley will not work for mobile versions. Mobile versions require q special plugin which was last updated by cranberrygames.

  • Does your server support CORS? By default if your server is not sending Access-Control-Allow-Origin HTTP headers, cross-origin requests are blocked.

    Your workaround basically involves disabling that entire security measure, and I don't want to do that if it's just a CORS issue with your own server.

    It's not a workaround. It's how the new phonegap is working. They are requiring that we whitelist the ip addresses that our android phones will use. It's a new thing added to newer phonegap versions. Each of my php scripts allow incoming traffic from anywhere through access allow headers set to *. This isn't a Cors issue it's a newer phonegap issue.

  • Ashley,

    You would fix about 99% of the issues if you set a string property for people to enter their own Facebook permissions(your current issue is that some Facebook permission names have changed). Also the info returned when a user logs in includes an access token. If you can make that a string expression then everyone would be able to use the Ajax plugin and the browser plugin to add their own Facebook features. As for mobile devices, it requires a completely different set of JavaScript code in order to function. This is because the standard plugin(web) is tied to a domain and website for security reasons. The mobile devices don't have that luxury so they are tied to their developer app key instead of domain. So that would probably require a completely separate plugin to work.

    So try to switch thing so users enter their own comma separated list of permissions and return the access token as an expression. That would fix 99% of current and future bugs for the web API. It would also allow people to add their own Facebook platform tools without bugging you to add them.

  • what are you talking about?

    facebook plugin was developed by 3rd party, some guy here (don't know his nickname).

    also he now works on people's projects for some fee, doesn't probably update facebook plugin, so you're on your own.

    I actually do support all my old plugins free of any charge. However due to the Facebook API changing every month it became unfeasible to offer a plugin for a 1 time fee. Some people have used my support many times which means the $20 they paid has translated into less than a dollar an hour for the time I put into the work. Not complaining at all, just explaining why I had to switch to a different model of payment. Now I'm happy to join any team and work on any part of their project including Facebook for a fee. Like you would charge I'm sure for being part of a business team.

    But I must say to construct 2 creators credit, they do a phenomenal job of adding things as often as they can. Remember there are a million conceivable items you can add to construct 2. We can't expect them to add all of those all at once. For example I've been on teams where I've added PayPal processing, top score databases, photo manipulation, and of course Facebook features(which change every 30 days). Other options could include facial recognition, gif support, enhanced audio, enhanced pattern matching, nodjs support in terms of MySQL databases(that might already be feasible actually), the list is endless and that doesn't even cover the mobile export options.

    So don't think of it as a dying project. Think of it as a work in project, you all got in on the ground floor of html5 which puts you ahead of the curve. Now we just need to slowly add the tools to make us unstoppable as developers.

  • The only plugin that works for android devices is by a person by the name of cranberrygames. So unless you bought a plugin from him on top of the construct 2 software, you will not be able to integrate Facebook.

  • You will need a special plugin for android device Facebook integration. Someone named cranberrygames used to offer this. Not sure if that person still does. You won't be able to use the scirra Facebook plugin for your purposes.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I still work on it for people who ask. I'm working with a team on a rather large c2 project right now for a tv network. I'm bound by my contract so I can't discuss it, but yes I do still work on Facebook and other integrations. I just changed from a pay once for a plugin to an I'll work on your project with your team for a fee.

    Facebook isn't overly difficult to add. It's just annoying to keep updated for use in newer projects. But to answer your question. I'm usually tasked with adding feed sharing(stories) or picture, uploading to a users page, or Facebook payments.

    Less often I'm asked for adding scores, achievements, and gifting.

    The above is typically all anyone ever asks for. The only truly difficult task is adding the Facebook payments.

  • Condition

    Is button visible

    Button on clicked

    Action

    Do something

    Condition

    Else

    Action

    Leave blank

  • https://play.google.com/store/apps/deta ... ames.temps

    Not a game but made with c2. It's an app for businesses to record the temperatures of their food(restaurants,warehouses,convenience stores).

    You can read all about it at the link above.

  • No the API is forward compatible so if you start an app today than all future Facebook updates will work with it until the particular update expires. Heres how it works.

    You start an app today using Facebook 2.5

    Facebook gaurantees that each version will be available for x amount of months I think around 16 months.

    So you can use the 2.5 api until that 16 months expires.

    Once that time expires, your app will be forced to use the newer API say version 30.4 or whatever.

    At that point you will need to update any broken parts to the newer version 30.4 API or stop using Facebook.

    Now thats your current app.

    If you take the exact same copy of your game designed for version 2.5 and install it as a brand new Facebook game in a month or so, you will find that your required to use the latest version in this case version 2.6.

    Many of your features will still work from the old app, in fact it may work just fine. Facebook only pushes small changes at a time. However you might find that a persmission had changed or the way you used to post a score has changed just enough to break your code. At which point you'll just need to update your code accorindingly and you will once again be able to use the app.

    As for asking for a user defined string of permissions, the official plugin currently doesn't do that. There are third party options, for example I have a plugin that I use for Facebook in order to do some more extensive tasks. These options are not the official plugin though so they are not allowed in places the the Scirra arcade.

  • Ive got a plugin to do just that. Send me a message if you still need help.

  • They update the api every month and its not backwards compatible. To compound the issue you app is tied to the most recent api so an app you made last month may or may not work if you recreate it a month later. The best thing to do is dont hardwire the permissions into the action anymore. Instead have a string in the action that allows for a comma seperated list of permissions. Then the user is responsible for updating the permissions when needed.

h1k3's avatar

h1k3

Member since 1 Apr, 2012

Twitter
h1k3 has 3 followers

Connect with h1k3

Trophy Case

  • 12-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies