Can not authorize a FB application on IE9 - php

When testing a FB app I created, I was able to authorize the app on all browsers but IE9 where the browser displays the attached screen again when clicking 'Go To App' button.
I am using PHP FB SDK, the latest version.
Tested in FF and Chrome and is working, any ideas?
Edit:
It seems a bug with FB:
http://developers.facebook.com/bugs/434269633305911?browse=search_50acc066047f50931832838

This is JavaScript problem. Use authorization without js. Authorization in server-side the best because is independent of the browser.

it was a bug with FB and was resolved this morning.

Related

Launching instagram App through instagram's in app browser

Launch intagram
Does work from google chrome on android phone. But not from instagram's In app browser. It shows 'Page can't be loaded'.
More explanation: I have sign in with instagram. Which takes me to the instagram's in app browser instead of phone browser. and then i am trying to launch instagram app if installed.
couldn't find anything anywhere. Help is appreciated.
I'm not sure but I think that the Instagram in-app browser doesn't support intents and it's not full featured like chrome.
For example it doesn't starts download any file and use external browser for direct download links.
U should use a global link for that:
http://instagram.com/someuser/
or
http://instagram.com/_u/someuser

Facebook Open Graph seems buggy via app share dialog

When I share a link on Facebook, if i'm sharing from web, everything is perfect, title, description and images are alright.
But when I try to share a link from an app (iOS) there is no thumbnail.
Example link:
http://www.bilemezsin.com/whatsapp-in-pip-ozelligi-tum-kullanicilara-acilir--28426?refli=8053
Open Graph Debugger Result:
Web Share Result on Facebook
App Share Result on Facebook
I tried with other apps, too, via their Facebook share buttons on my iOS 10, iPhone 7.
I can't see what I'm missing, is it a Facebook bug?
I have tried to change SEF links to actual links but nothing changed.
I have tried clearing cache from Open Graph debugger, again, nothing.
I have tried many other apps, but they all seem failing when sharing
is initialized from mobile app. Sharing the same URL from the solves
the missing image problem.
Can you try to share any content from any app to Facebook and tell me the result? It'll be appreciated.
Note: everything was working fine till today.
Thank you.
Yes, it's a Facebook bug. It seems it just started.
https://developers.facebook.com/bugs/1948522638736698/

Share mobile logged in user details with PHP session

I am working on a mobile site that will run alongside a mobile app being developed by another company. My product manager has provided a spec, in which she is mentioning two options to implement a feature:
Clicking on button from mobile app will open mobile browser, where the user will need to login again, and proceed to perform required action.
Clicking on button from mobile app will open in-app browser, user does not need to login, and completes the entire flow and closes the in-app browser.
My question is: I do not understand difference between mobile browser and in-app browser. Does in-app just mean mobile browser opened from inside the app? And if that is so, then using PHP will I be able to recognize the current login in the app? or is there any way I can ask the mobile team to set a session when they open the "in-app" browser such that I can access that session and determine who is logged in?
As you can see, I am pretty ok with PHP and server side coding, but my knowledge of these new mobile technologies is very poor...I guess I am getting just too od for this job now.. sigh.
Any pointers are very much appreciated.
I think by in-app browser he has meant WebView which opens web pages as a part of application
This question seems to be duplicate although here is the ans you probably need.
Android WebView VS Phone Browser
Have you any doubts left?
mobile browser: a complete application inside the mobile device. Common examples are Chrome, Firefox mobile, Opera Mobile.
in-app browser: it's an instance of WebView. That's a normal view inside your app layout that is able to render web-content.
To open the webview as a currently app-logged user, you generally will add some token parameter to the URL that the web development team can use to identify the user on the server.
The WebView generally behaves like a browser, but you should implement a WebViewClient to properly steer some of the navigation patterns to make sure it behaves inside your app, the way your app should.

Facebook Application without Popup and SSL

I am developing facebook app using javascript SDK.
Is there any possibility to run facebook app without SSL with HTTPS URL but block popup window by browser.
My facebook app works fine in mozzila browser but in Google chrome its cant run because my google chrome browser block popup window.
so facebook authentication failed so its cant work ahead and stopped there. Is there any alternative way to solve it.
Your help appreciate me. Thanks in advance.
https://www.facebook.com/notes/facebook-engineering/secure-browsing-by-default/10151590414803920
It's no longer possible to not use HTTPS on Facebook (which is a good thing!).
You cannot do anything against blocked pop-ups except telling the user that there is a pop-up that might be blocked.

Change User-Agent Using PHP

I have an app on my server which redirects to Facebook and thus displays the browser version of the Facebook Login page.
However, since I'll be accessing this through a mobile device, I'll want it to display the mobile version of the Facebook login page.
Is it possible to use the header() function or is there a way to change the user-agent on my host before it redirects to Facebook? So that Facebook will think the request is coming from a mobile device and thus render the mobile version.
I have already tried to use JavaScript and tried spoofing the header command; unfortunately these didn't work.
Thank you.
ini_set('user_agent', 'MyBrowser v42.0.4711');
Your server cannot affect the remote browser's configuration. The only place where you could change the user agent is if you were proxying the browser's requests to facebook, as it'd be your server connecting to FB, not the client.
Try redirecting to m.facebook.com instead. That displays a minimal "mobile" version.

Categories