Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Facebook SDK out-of-date
Started by Divergent Monkey Jun 09 2019 12:45 PM

- - - - -
14 replies to this topic
facebook
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Divergent Monkey

[GLOBAL: userInfoPane.html]
Divergent Monkey
  • Contributor

  • 312 posts
  • Corona SDK

Hello,
 
I just got the following warning from Facebook:
 
Your Facebook SDK is out-of-date. Please upgrade to v5.0 for access to new privacy features.
 
I am using the v4a plugin. Is this something Corona plans to update anytime soon?


[TOPIC: post.html]
#2

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,108 posts
  • Corona SDK

Does this affect you in any way?  I'm just curious.



[TOPIC: post.html]
#3

Divergent Monkey

[GLOBAL: userInfoPane.html]
Divergent Monkey
  • Contributor

  • 312 posts
  • Corona SDK

After about 4 years on GooglePlay, my app got this:

 

We've restricted this app for violating the Facebook Platform Policies. During Login, your Android app is crashing or hanging excessively, creating a broken experience for people trying to use your app. 

 

 

Nothing has changed in the app and the same code works perfectly for iOS.



[TOPIC: post.html]
#4

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,108 posts
  • Corona SDK

Oh not good.  When was the last time you updated?



[TOPIC: post.html]
#5

Divergent Monkey

[GLOBAL: userInfoPane.html]
Divergent Monkey
  • Contributor

  • 312 posts
  • Corona SDK

You mean uploaded a new version to GooglePlay? In April. 



[TOPIC: post.html]
#6

Divergent Monkey

[GLOBAL: userInfoPane.html]
Divergent Monkey
  • Contributor

  • 312 posts
  • Corona SDK

Talked to FB support, they temporarily lifted the restriction so that I can test the issue. Please see the attached image of the error message. No details, just that FB cannot be used to log in. 

Attached Thumbnails

  • file.jpeg


[TOPIC: post.html]
#7

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,108 posts
  • Corona SDK

I use FB login a lot and have not encountered this!  Share your login code and I'll compare it to mine.



[TOPIC: post.html]
#8

Divergent Monkey

[GLOBAL: userInfoPane.html]
Divergent Monkey
  • Contributor

  • 312 posts
  • Corona SDK

Just got an answer from Facebook support regarding the error i mentioned in my previous post. Turns out it was something completely different; they claim that I have not specified a valid redirect URI in the app login settings. Strangely, log in in works perfectly fine on some devices, but not others.

 

Please see the attached image for my OAuth settings. Which one of these is the v4a plugin using?

Attached Thumbnails

  • fbdump.png


[TOPIC: post.html]
#9

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,108 posts
  • Corona SDK

Mine looks nothing like that.  I have an iOS and an Adroid settings block.  No web stuff.



[TOPIC: post.html]
#10

Divergent Monkey

[GLOBAL: userInfoPane.html]
Divergent Monkey
  • Contributor

  • 312 posts
  • Corona SDK

On your Facebook developers page for your app, in the menu to the left you have the headline "Products" and directly below "Facebook Login". Below that is the link "Settings", there you will find the settings in the image in my previous post.



[TOPIC: post.html]
#11

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,108 posts
  • Corona SDK

oh apart from enforce https ON mine is identical to yours



[TOPIC: post.html]
#12

Divergent Monkey

[GLOBAL: userInfoPane.html]
Divergent Monkey
  • Contributor

  • 312 posts
  • Corona SDK

@SGS: ok, thanks!

 

@Corona staff: are you planning on updating the Facebook v4a plugin too meet the Facebook requirements?



[TOPIC: post.html]
#13

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,793 posts
  • Enterprise

We are not thinking about anything past Android 64 bit right now. I'm certain that the next big ticket item after that will need to be a public build that's pretty high priority. In between we will need to fix AdMob and probably the Facebook plugin.

 

Rob



[TOPIC: post.html]
#14

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,108 posts
  • Corona SDK

@Rob AdMob plugin for sure but I know you know this already (Unity is not so good on revenue)

 

@DM, I do a significant amount of FB stuff - enough to measure on rate limiting.  There isn't a problem with the FB plugin (apart from being a bit out of date).  The problem is with how you are using it.  The clue is when they say "During Login, your Android app is crashing or hanging excessively, creating a broken experience for people trying to use your app. "  If you can share some code I might be able to advise you.



[TOPIC: post.html]
#15

Divergent Monkey

[GLOBAL: userInfoPane.html]
Divergent Monkey
  • Contributor

  • 312 posts
  • Corona SDK

@SGS: With the help of FB support, I found out that there was a problem with the key hash (as configured on my FB developer account pages). It also turned out that the "crash" they referred to was that it was not possible to log in. The strange thing, however, was that it only failed sometimes. Many times it worked perfectly well. I have now changed the key hash and have made an appeal to FB to review it again.




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: facebook