GithubHelp home page GithubHelp logo

Comments (51)

cstromme avatar cstromme commented on April 20, 2024

Seems he's not alone. Several users have reported this now.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

It might be a coincidence, but so far all these users are from Italy and Australia.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

One of my users emailed me a video showing me the problem. Seems there is a Bad Request at top:

http://obj-factory.com/error.m4v

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

This actually looks like an error returned by Apple instead of from us. Can you repro this by putting a debugger to the place where the error is throwed?

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

I can't even reproduce the problem.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Okay, found an Australian proxy here (116.255.24.45:8080), and I get the same error.

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

As this error is from Apple , my suggestion is first check with apple to see what this error means..

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

didFailLoad doesn't seem to be triggered neither in FBDialog nor in FBLoginDialog. My guess is that this error isn't produced by UIWebView, but by the server.

This is the request gotten from didFinishLoad:

<NSMutableURLRequest http://touch.facebook.com/login.php?sdk=ios&cancel=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fsdk%3Dios%26display%3Dtouch%26scope%3Dpublish_stream%252Ccreate_event%252Crsvp_event%252Cmanage_pages%252Cuser_about_me%252C%252Cuser_activities%252Cuser_birthday%252Cuser_education_history%252Cuser_events%252Cuser_groups%252Cuser_hometown%252Cuser_interests%252Cuser_likes%252Cuser_location%252Cuser_notes%252Cuser_online_presence%252Cuser_photo_video_tags%252Cuser_photos%252Cuser_relationships%252Cuser_religion_politics%252Cuser_status%252Cuser_videos%252Cuser_website%252Cuser_work_history%252C%252Cread_stream%252Coffline_access%252Cfriends_about_me%252Cfriends_activities%252Cfriends_birthday%252Cfriends_education_history%252Cfriends_events%252Cfriends_groups%252Cfriends_hometown%252Cfriends_interests%252Cfriends_likes%252Cfriends_location%252Cfriends_notes%252Cfriends_online_presence%252Cfriends_photo_video_tags%252Cfriends_photos%252Cfriends_relationships%252Cfriends_religion_politics%252Cfriends_status%252Cfriends_videos%252Cfriends_website%252Cfriends_work_history%26type%3Duser_agent%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26client_id%3D122315137816686&fbconnect=1&next=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fsdk%3Dios%26display%3Dtouch%26scope%3Dpublish_stream%252Ccreate_event%252Crsvp_event%252Cmanage_pages%252Cuser_about_me%252C%252Cuser_activities%252Cuser_birthday%252Cuser_education_history%252Cuser_events%252Cuser_groups%252Cuser_hometown%252Cuser_interests%252Cuser_likes%252Cuser_location%252Cuser_notes%252Cuser_online_presence%252Cuser_photo_video_tags%252Cuser_photos%252Cuser_relationships%252Cuser_religion_politics%252Cuser_status%252Cuser_videos%252Cuser_website%252Cuser_work_history%252C%252Cread_stream%252Coffline_access%252Cfriends_about_me%252Cfriends_activities%252Cfriends_birthday%252Cfriends_education_history%252Cfriends_events%252Cfriends_groups%252Cfriends_hometown%252Cfriends_interests%252Cfriends_likes%252Cfriends_location%252Cfriends_notes%252Cfriends_online_presence%252Cfriends_photo_video_tags%252Cfriends_photos%252Cfriends_relationships%252Cfriends_religion_politics%252Cfriends_status%252Cfriends_videos%252Cfriends_website%252Cfriends_work_history%26type%3Duser_agent%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26client_id%3D122315137816686%26next%3Dhttps%253A%252F%252Fgraph.facebook.com%252Foauth%252Fauthorize_success%253Fsdk%253Dios%2526display%253Dtouch%2526scope%253Dpublish_stream%25252Ccreate_event%25252Crsvp_event%25252Cmanage_pages%25252Cuser_about_me%25252C%25252Cuser_activities%25252Cuser_birthday%25252Cuser_education_history%25252Cuser_events%25252Cuser_groups%25252Cuser_hometown%25252Cuser_interests%25252Cuser_likes%25252Cuser_location%25252Cuser_notes%25252Cuser_online_presence%25252Cuser_photo_video_tags%25252Cuser_photos%25252Cuser_relationships%25252Cuser_religion_politics%25252Cuser_status%25252Cuser_videos%25252Cuser_website%25252Cuser_work_history%25252C%25252Cread_stream%25252Coffline_access%25252Cfriends_about_me%25252Cfriends_activities%25252Cfriends_birthday%25252Cfriends_education_history%25252Cfriends_events%25252Cfriends_groups%25252Cfriends_hometown%25252Cfriends_interests%25252Cfriends_likes%25252Cfriends_location%25252Cfriends_notes%25252Cfriends_online_presence%25252Cfriends_photo_video_tags%25252Cfriends_photos%25252Cfriends_relationships%25252Cfriends_religion_politics%25252Cfriends_status%25252Cfriends_videos%25252Cfriends_website%25252Cfriends_work_history%2526type%253Duser_agent%2526redirect_uri%253Dfbconnect%25253A%25252F%25252Fsuccess%2526client_id%253D122315137816686%26cancel_url%3Dhttps%253A%252F%252Fgraph.facebook.com%252Foauth%252Fauthorize_cancel%253Fsdk%253Dios%2526display%253Dtouch%2526scope%253Dpublish_stream%25252Ccreate_event%25252Crsvp_event%25252Cmanage_pages%25252Cuser_about_me%25252C%25252Cuser_activities%25252Cuser_birthday%25252Cuser_education_history%25252Cuser_events%25252Cuser_groups%25252Cuser_hometown%25252Cuser_interests%25252Cuser_likes%25252Cuser_location%25252Cuser_notes%25252Cuser_online_presence%25252Cuser_photo_video_tags%25252Cuser_photos%25252Cuser_relationships%25252Cuser_religion_politics%25252Cuser_status%25252Cuser_videos%25252Cuser_website%25252Cuser_work_history%25252C%25252Cread_stream%25252Coffline_access%25252Cfriends_about_me%25252Cfriends_activities%25252Cfriends_birthday%25252Cfriends_education_history%25252Cfriends_events%25252Cfriends_groups%25252Cfriends_hometown%25252Cfriends_interests%25252Cfriends_likes%25252Cfriends_location%25252Cfriends_notes%25252Cfriends_online_presence%25252Cfriends_photo_video_tags%25252Cfriends_photos%25252Cfriends_relationships%25252Cfriends_religion_politics%25252Cfriends_status%25252Cfriends_videos%25252Cfriends_website%25252Cfriends_work_history%2526type%253Duser_agent%2526redirect_uri%253Dfbconnect%25253A%25252F%25252Fsuccess%2526client_id%253D122315137816686%26return_session%3D1%26fbconnect%3D1%26app_id%3D122315137816686%26method%3Dpermissions.request%26perms%3Dpublish_stream%252Ccreate_event%252Crsvp_event%252Cmanage_pages%252Cuser_about_me%252C%252Cuser_activities%252Cuser_birthday%252Cuser_education_history%252Cuser_events%252Cuser_groups%252Cuser_hometown%252Cuser_interests%252Cuser_likes%252Cuser_location%252Cuser_notes%252Cuser_online_presence%252Cuser_photo_video_tags%252Cuser_photos%252Cuser_relationships%252Cuser_religion_politics%252Cuser_status%252Cuser_videos%252Cuser_website%252Cuser_work_history%252C%252Cread_stream%252Coffline_access%252Cfriends_about_me%252Cfriends_activities%252Cfriends_birthday%252Cfriends_education_history%252Cfriends_events%252Cfriends_groups%252Cfriends_hometown%252Cfriends_interests%252Cfriends_likes%252Cfriends_location%252Cfriends_notes%252Cfriends_online_presence%252Cfriends_photo_video_tags%252Cfriends_photos%252Cfriends_relationships%252Cfriends_religion_politics%252Cfriends_status%252Cfriends_videos%252Cfriends_website%252Cfriends_work_history%26from_login%3D1>

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Okay, so I can't post the request here, uploaded it here: http://obj-factory.com/request.txt

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

The fact that this is a regional issue, without it having anything to do with regional settings on the device, makes me think this must be related to the Facebook servers themselves. Are there regional servers for Italy and Australia?

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

I just tried with the demo apps here and I can reproduce it there as well using an Australian proxy, so it's definitely not local to my app.

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

use the Australian proxy, and find out the can you access the oauth url within safari? the oauth url can be obtained by putting a debugger in the FBDialog.m

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Yep, I can reproduce the problem in Safari on the desktop here using Australian proxies and trying to access this URL: http://touch.facebook.com/login.php?sdk=ios&cancel=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fsdk%3Dios%26display%3Dtouch%26scope%3Dpublish_stream%252Ccreate_event%252Crsvp_event%252Cmanage_pages%252Cuser_about_me%252C%252Cuser_activities%252Cuser_birthday%252Cuser_education_history%252Cuser_events%252Cuser_groups%252Cuser_hometown%252Cuser_interests%252Cuser_likes%252Cuser_location%252Cuser_notes%252Cuser_online_presence%252Cuser_photo_video_tags%252Cuser_photos%252Cuser_relationships%252Cuser_religion_politics%252Cuser_status%252Cuser_videos%252Cuser_website%252Cuser_work_history%252C%252Cread_stream%252Coffline_access%252Cfriends_about_me%252Cfriends_activities%252Cfriends_birthday%252Cfriends_education_history%252Cfriends_events%252Cfriends_groups%252Cfriends_hometown%252Cfriends_interests%252Cfriends_likes%252Cfriends_location%252Cfriends_notes%252Cfriends_online_presence%252Cfriends_photo_video_tags%252Cfriends_photos%252Cfriends_relationships%252Cfriends_religion_politics%252Cfriends_status%252Cfriends_videos%252Cfriends_website%252Cfriends_work_history%26type%3Duser_agent%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26client_id%3D122315137816686&fbconnect=1&next=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fsdk%3Dios%26display%3Dtouch%26scope%3Dpublish_stream%252Ccreate_event%252Crsvp_event%252Cmanage_pages%252Cuser_about_me%252C%252Cuser_activities%252Cuser_birthday%252Cuser_education_history%252Cuser_events%252Cuser_groups%252Cuser_hometown%252Cuser_interests%252Cuser_likes%252Cuser_location%252Cuser_notes%252Cuser_online_presence%252Cuser_photo_video_tags%252Cuser_photos%252Cuser_relationships%252Cuser_religion_politics%252Cuser_status%252Cuser_videos%252Cuser_website%252Cuser_work_history%252C%252Cread_stream%252Coffline_access%252Cfriends_about_me%252Cfriends_activities%252Cfriends_birthday%252Cfriends_education_history%252Cfriends_events%252Cfriends_groups%252Cfriends_hometown%252Cfriends_interests%252Cfriends_likes%252Cfriends_location%252Cfriends_notes%252Cfriends_online_presence%252Cfriends_photo_video_tags%252Cfriends_photos%252Cfriends_relationships%252Cfriends_religion_politics%252Cfriends_status%252Cfriends_videos%252Cfriends_website%252Cfriends_work_history%26type%3Duser_agent%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26client_id%3D122315137816686%26next%3Dhttps%253A%252F%252Fgraph.facebook.com%252Foauth%252Fauthorize_success%253Fsdk%253Dios%2526display%253Dtouch%2526scope%253Dpublish_stream%25252Ccreate_event%25252Crsvp_event%25252Cmanage_pages%25252Cuser_about_me%25252C%25252Cuser_activities%25252Cuser_birthday%25252Cuser_education_history%25252Cuser_events%25252Cuser_groups%25252Cuser_hometown%25252Cuser_interests%25252Cuser_likes%25252Cuser_location%25252Cuser_notes%25252Cuser_online_presence%25252Cuser_photo_video_tags%25252Cuser_photos%25252Cuser_relationships%25252Cuser_religion_politics%25252Cuser_status%25252Cuser_videos%25252Cuser_website%25252Cuser_work_history%25252C%25252Cread_stream%25252Coffline_access%25252Cfriends_about_me%25252Cfriends_activities%25252Cfriends_birthday%25252Cfriends_education_history%25252Cfriends_events%25252Cfriends_groups%25252Cfriends_hometown%25252Cfriends_interests%25252Cfriends_likes%25252Cfriends_location%25252Cfriends_notes%25252Cfriends_online_presence%25252Cfriends_photo_video_tags%25252Cfriends_photos%25252Cfriends_relationships%25252Cfriends_religion_politics%25252Cfriends_status%25252Cfriends_videos%25252Cfriends_website%25252Cfriends_work_history%2526type%253Duser_agent%2526redirect_uri%253Dfbconnect%25253A%25252F%25252Fsuccess%2526client_id%253D122315137816686%26cancel_url%3Dhttps%253A%252F%252Fgraph.facebook.com%252Foauth%252Fauthorize_cancel%253Fsdk%253Dios%2526display%253Dtouch%2526scope%253Dpublish_stream%25252Ccreate_event%25252Crsvp_event%25252Cmanage_pages%25252Cuser_about_me%25252C%25252Cuser_activities%25252Cuser_birthday%25252Cuser_education_history%25252Cuser_events%25252Cuser_groups%25252Cuser_hometown%25252Cuser_interests%25252Cuser_likes%25252Cuser_location%25252Cuser_notes%25252Cuser_online_presence%25252Cuser_photo_video_tags%25252Cuser_photos%25252Cuser_relationships%25252Cuser_religion_politics%25252Cuser_status%25252Cuser_videos%25252Cuser_website%25252Cuser_work_history%25252C%25252Cread_stream%25252Coffline_access%25252Cfriends_about_me%25252Cfriends_activities%25252Cfriends_birthday%25252Cfriends_education_history%25252Cfriends_events%25252Cfriends_groups%25252Cfriends_hometown%25252Cfriends_interests%25252Cfriends_likes%25252Cfriends_location%25252Cfriends_notes%25252Cfriends_online_presence%25252Cfriends_photo_video_tags%25252Cfriends_photos%25252Cfriends_relationships%25252Cfriends_religion_politics%25252Cfriends_status%25252Cfriends_videos%25252Cfriends_website%25252Cfriends_work_history%2526type%253Duser_agent%2526redirect_uri%253Dfbconnect%25253A%25252F%25252Fsuccess%2526client_id%253D122315137816686%26return_session%3D1%26fbconnect%3D1%26app_id%3D122315137816686%26method%3Dpermissions.request%26perms%3Dpublish_stream%252Ccreate_event%252Crsvp_event%252Cmanage_pages%252Cuser_about_me%252C%252Cuser_activities%252Cuser_birthday%252Cuser_education_history%252Cuser_events%252Cuser_groups%252Cuser_hometown%252Cuser_interests%252Cuser_likes%252Cuser_location%252Cuser_notes%252Cuser_online_presence%252Cuser_photo_video_tags%252Cuser_photos%252Cuser_relationships%252Cuser_religion_politics%252Cuser_status%252Cuser_videos%252Cuser_website%252Cuser_work_history%252C%252Cread_stream%252Coffline_access%252Cfriends_about_me%252Cfriends_activities%252Cfriends_birthday%252Cfriends_education_history%252Cfriends_events%252Cfriends_groups%252Cfriends_hometown%252Cfriends_interests%252Cfriends_likes%252Cfriends_location%252Cfriends_notes%252Cfriends_online_presence%252Cfriends_photo_video_tags%252Cfriends_photos%252Cfriends_relationships%252Cfriends_religion_politics%252Cfriends_status%252Cfriends_videos%252Cfriends_website%252Cfriends_work_history%26from_login%3D1

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Where do we go from here?

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Why has this been closed?

from facebook-ios-sdk.

lshepard avatar lshepard commented on April 20, 2024

This was recently reported here as well:
http://bugs.developers.facebook.net/show_bug.cgi?id=9944

Looks like an issue with the touch.facebook.com SSL certificate in some markets. I haven't been able to reproduce it but we'll investigate.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Great! :)

from facebook-ios-sdk.

lshepard avatar lshepard commented on April 20, 2024

If you're able to repro it in a browser, can you paste the full certificate info?

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Just tried right now and now I just get the default "Sorry, an error has occurred." Facebook page.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

And now it worked in the browser. Any way to get the certificate info from the webview? I can reproduce it there.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

And now I get the error in the browser again. :P

So how can I get the full certificate info from the browser? Using Safari 5.0.1

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Ok, every second or third time I try now (through the app) it actually works. Then I try again, and it gives me the bad request again. Are you changing something?

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

I do not think we had change anything. We will investigate this issue and will keep you posted

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Thank you. :)

from facebook-ios-sdk.

lshepard avatar lshepard commented on April 20, 2024

When you get the bad certificate error in the browser, it usually has an option like "View Certificate"

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

I got it to happen in Chrome and Firefox as well (seems there's a separate Proxy setting in Firefox independent of the system settings). Neither of which gives me an option to view certificate, and page info in Chrome says there is no certificate. Take a look here: http://obj-factory.com/badrequest.png

from facebook-ios-sdk.

lshepard avatar lshepard commented on April 20, 2024

Huh. So there's no cert because you're not accessing the HTTPS version (I see above that your repro url is http as well).

Can you grab an HTTP trace that I could inspect, including the IP of the server you're hitting? I suggest using Charles Proxy to do that.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

I get the requests in my app through my own cache, here it is (abbreviated URLs):

https://graph.facebook.com/oauth/authorize?sdk=ios&display=touch&scope=publish_stream%2Ccreate_event%2

https://www.facebook.com/connect/uiserver.php?sdk=ios&display=touch&scope=publish_stream%2Ccreate_event%2Crsvp_event%2Cmanage_pages%2Cuser_about_me%2C%2Cuser_activities%2Cuser_birthday%2Cuser_education_history%2

http://touch.facebook.com/login.php?sdk=ios&cancel=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fsdk%3Dios%26display%3Dtouch%26scope%3Dpublish_stream%252Ccreate_event%252Crsvp_event%252Cmanage_pages%252Cuser_about_me%252C%252Cuser_activities%252Cuser_birthday%252Cuser_education_history%252Cuser_events%252Cuser_groups%252

Do you need more?

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

^ Just wanted to clarify, there are no more URLs/requests after those.

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

can you use tcpdump to try to get a traffic dump? That would greatly helpful.

Thanks!

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

Also can you visit www.facebook.com or touch.facebook.com directly with your browser on Australia proxy? http://techcrunch.com/2007/12/30/australia-joins-china-in-censoring-the-internet/ hopefully, it is not related to their filter.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

^ Can access both fine through the proxy. Here's the proxy I'm using: 116.255.24.45:8080

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

But with the browser, you got this error if you use the url in the sdk as shown on your picture, is that correct?

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Yep. I'll email you my pcap from tcpdump now.

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

From your tcpdump, the Bad Request response are from AkamaiGhost. It should be some thing between your client and our server.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Well this is what happens, perhaps you are looking at the wrong place for the problem?

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

Use tcpdump -a -A -r DumpFile01.pcap
You will see the Bad request Response is from AkamaiGHost. It does not reach our server

..S.....HTTP/1.1 400 Bad Request
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 216
Expires: Thu, 26 Aug 2010 23:51:26 GMT
Date: Thu, 26 Aug 2010 23:51:26 GMT

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

So what does that mean? Is all traffic in Italy and Australia filtered and doesn't reach your servers? That just sound unbelievable to me.

from facebook-ios-sdk.

lshepard avatar lshepard commented on April 20, 2024

We did a little research. There's a few interesting things:

1/ The URL being requested from touch.facebook.com is like 6k - way longer than it should be
2/ In the Pcap, the GET request is actually querying the full url instead of just the path. What browser / program are you using to actually make this request? Is it the iOS device?
3/ We are using Akamai acceleration for our mobile site overseas. The Akamai endpoint that you are hitting for touch.facebook.com through that proxy is 144.135.8.171.

So we need some help from you to help us understand what's happening here. Can you do the following:

  • Run the requests through an SSL-enabled proxy? We want to see if the Location header of the response from www.facebook.com/connect/uiserver.php... contains this long URL. If it does, then it's a problem on our side; if it doesn't then something is garbling it on your client.

Here's the command we used to try to repro it. This works okay though, returns a correct login page:

curl -H -x 144.135.8.171:80 'http://touch.facebook.com/login.php?sdk=ios&cancel=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fsdk%3Dios%26display%3Dtouch%26scope%3Dpublish_stream%252Ccreate_event%252Crsvp_event%252Cmanage_pages%252Cuser_about_me%252C%252Cuser_activities%252Cuser_birthday%252Cuser_education_history%252Cuser_events%252Cuser_groups%252Cuser_hometown%252Cuser_interests%252Cuser_likes%252Cuser_location%252Cuser_notes%252Cuser_online_presence%252Cuser_photo_video_tags%252Cuser_photos%252Cuser_relationships%252Cuser_religion_politics%252Cuser_status%252Cuser_videos%252Cuser_website%252Cuser_work_history%252C%252Cread_stream%252Coffline_access%252Cfriends_about_me%252Cfriends_activities%252Cfriends_birthday%252Cfriends_education_history%252Cfriends_events%252Cfriends_groups%252Cfriends_hometown%252Cfriends_interests%252Cfriends_likes%252Cfriends_location%252Cfriends_notes%252Cfriends_online_presence%252Cfriends_photo_video_tags%252Cfriends_photos%252Cfriends_relationships%252Cfriends_religion_politics%252Cfriends_status%252Cfriends_videos%252Cfriends_website%252Cfriends_work_history%26type%3Duser_agent%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26client_id%3D122315137816686&fbconnect=1&next=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fsdk%3Dios%26display%3Dtouch%26scope%3Dpublish_stream%252Ccreate_event%252Crsvp_event%252Cmanage_pages%252Cuser_about_me%252C%252Cuser_activities%252Cuser_birthday%252Cuser_education_history%252Cuser_events%252Cuser_groups%252Cuser_hometown%252Cuser_interests%252Cuser_likes%252Cuser_location%252Cuser_notes%252Cuser_online_presence%252Cuser_photo_video_tags%252Cuser_photos%252Cuser_relationships%252Cuser_religion_politics%252Cuser_status%252Cuser_videos%252Cuser_website%252Cuser_work_history%252C%252Cread_stream%252Coffline_access%252Cfriends_about_me%252Cfriends_activities%252Cfriends_birthday%252Cfriends_education_history%252Cfriends_events%252Cfriends_groups%252Cfriends_hometown%252Cfriends_interests%252Cfriends_likes%252Cfriends_location%252Cfriends_notes%252Cfriends_online_presence%252Cfriends_photo_video_tags%252Cfriends_photos%252Cfriends_relationships%252Cfriends_religion_politics%252Cfriends_status%252Cfriends_videos%252Cfriends_website%252Cfriends_work_history%26type%3Duser_agent%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26client_id%3D122315137816686%26next%3Dhttps%253A%252F%252Fgraph.facebook.com%252Foauth%252Fauthorize_success%253Fsdk%253Dios%2526display%253Dtouch%2526scope%253Dpublish_stream%25252Ccreate_event%25252Crsvp_event%25252Cmanage_pages%25252Cuser_about_me%25252C%25252Cuser_activities%25252Cuser_birthday%25252Cuser_education_history%25252Cuser_events%25252Cuser_groups%25252Cuser_hometown%25252Cuser_interests%25252Cuser_likes%25252Cuser_location%25252Cuser_notes%25252Cuser_online_presence%25252Cuser_photo_video_tags%25252Cuser_photos%25252Cuser_relationships%25252Cuser_religion_politics%25252Cuser_status%25252Cuser_videos%25252Cuser_website%25252Cuser_work_history%25252C%25252Cread_stream%25252Coffline_access%25252Cfriends_about_me%25252Cfriends_activities%25252Cfriends_birthday%25252Cfriends_education_history%25252Cfriends_events%25252Cfriends_groups%25252Cfriends_hometown%25252Cfriends_interests%25252Cfriends_likes%25252Cfriends_location%25252Cfriends_notes%25252Cfriends_online_presence%25252Cfriends_photo_video_tags%25252Cfriends_photos%25252Cfriends_relationships%25252Cfriends_religion_politics%25252Cfriends_status%25252Cfriends_videos%25252Cfriends_website%25252Cfriends_work_history%2526type%253Duser_agent%2526redirect_uri%253Dfbconnect%25253A%25252F%25252Fsuccess%2526client_id%253D122315137816686%26cancel_url%3Dhttps%253A%252F%252Fgraph.facebook.com%252Foauth%252Fauthorize_cancel%253Fsdk%253Dios%2526display%253Dtouch%2526scope%253Dpublish_stream%25252Ccreate_event%25252Crsvp_event%25252Cmanage_pages%25252Cuser_about_me%25252C%25252Cuser_activities%25252Cuser_birthday%25252Cuser_education_history%25252Cuser_events%25252Cuser_groups%25252Cuser_hometown%25252Cuser_interests%25252Cuser_likes%25252Cuser_location%25252Cuser_notes%25252Cuser_online_presence%25252Cuser_photo_video_tags%25252Cuser_photos%25252Cuser_relationships%25252Cuser_religion_politics%25252Cuser_status%25252Cuser_videos%25252Cuser_website%25252Cuser_work_history%25252C%25252Cread_stream%25252Coffline_access%25252Cfriends_about_me%25252Cfriends_activities%25252Cfriends_birthday%25252Cfriends_education_history%25252Cfriends_events%25252Cfriends_groups%25252Cfriends_hometown%25252Cfriends_interests%25252Cfriends_likes%25252Cfriends_location%25252Cfriends_notes%25252Cfriends_online_presence%25252Cfriends_photo_video_tags%25252Cfriends_photos%25252Cfriends_relationships%25252Cfriends_religion_politics%25252Cfriends_status%25252Cfriends_videos%25252Cfriends_website%25252Cfriends_work_history%2526type%253Duser_agent%2526redirect_uri%253Dfbconnect%25253A%25252F%25252Fsuccess%2526client_id%253D122315137816686%26return_session%3D1%26fbconnect%3D1%26app_id%3D122315137816686%26method%3Dpermissions.request%26perms%3Dpublish_stream%252Ccreate_event%252Crsvp_event%252Cmanage_pages%252Cuser_about_me%252C%252Cuser_activities%252Cuser_birthday%252Cuser_education_history%252Cuser_events%252Cuser_groups%252Cuser_hometown%252Cuser_interests%252Cuser_likes%252Cuser_location%252Cuser_notes%252Cuser_online_presence%252Cuser_photo_video_tags%252Cuser_photos%252Cuser_relationships%252Cuser_religion_politics%252Cuser_status%252Cuser_videos%252Cuser_website%252Cuser_work_history%252C%252Cread_stream%252Coffline_access%252Cfriends_about_me%252Cfriends_activities%252Cfriends_birthday%252Cfriends_education_history%252Cfriends_events%252Cfriends_groups%252Cfriends_hometown%252Cfriends_interests%252Cfriends_likes%252Cfriends_location%252Cfriends_notes%252Cfriends_online_presence%252Cfriends_photo_video_tags%252Cfriends_photos%252Cfriends_relationships%252Cfriends_religion_politics%252Cfriends_status%252Cfriends_videos%252Cfriends_website%252Cfriends_work_history%26from_login%3D1'

from facebook-ios-sdk.

lshepard avatar lshepard commented on April 20, 2024

On a little more experimentation it looks like it's just the length that causes the issues. If the URL gets over 4k then our Akamai service throws a bad request. Our URLs are just way too long because we repeat the permissions a few times.

We are working on a longer term fix but it will take some time to eliminate all the extra URLs. In the short term, you can fix this by requesting fewer permissions.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

How long time are we talking about?

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

It may take a few weeks. Thanks for your patience.

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

Any chance you could tell me how much I need to remove, I'm using most of the permissions, and the ones I don't use I will probably be using soon.

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

Right now the url is of size 6K while the limit is 4K...

from facebook-ios-sdk.

cstromme avatar cstromme commented on April 20, 2024

What about adding a user_all and friends_all permission? Wouldn't that be an easier fix?

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 20, 2024

We have pushed out a change recently which has reduce a chunk of the url size. You may want to try to add a few perms to see if it is still work. We still have some big chunks in the url that would need to be removed. that would need a couple of more weeks. thanks

from facebook-ios-sdk.

cancelself avatar cancelself commented on April 20, 2024

I am following to see if we have fixed this issue

from facebook-ios-sdk.

bgold avatar bgold commented on April 20, 2024

We made the URLs much smaller last month, so this issue should be fixed. Let me know if you run into more problems.

from facebook-ios-sdk.

farnell avatar farnell commented on April 20, 2024

Brent, I'm getting invalid token errors from 2 out of the 3 beta testers I have in Australia.

from facebook-ios-sdk.

bgold avatar bgold commented on April 20, 2024

Are you still seeing the issue? I think we fixed it, but I'm not sure.

from facebook-ios-sdk.

 avatar commented on April 20, 2024

Did anybody got mutual friend list...?????

from facebook-ios-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.