To use the invitable_friends edge, your app needs to be:
- classified as a 'Game' within your app's settings
- have a Canvas presence - which means enabling the Canvas platform within your app's settings.
The error you're seeing above is because your app is not categorized as a game, not because you're in Development Mode.