New small Facebook oauth web dialog x old big classical oauth dialog - facebook-login

I want to get the full oauth old dialog from image #1 and I am getting the small new one on image #2
When I preview my dialog on developers.facebook.com/apps I get what I want, but when I load
https://www.facebook.com/dialog/oauth?client_id=123&redirect_uri=www I get the new small one.
It is not user related as the same url using a different client_id, from another app works fine. Is it the flow?
Thanks for any clue.

Related

Allow more pages with facebook graph api

My app successfully connects to Facebook using Facebook's Graph API, requests access to the pages I want to post to and redirects back to my app. That works like charm.
My problem is that if I created a new page on Facebook, I cannot add it to my app:
When I try to connect again, Facebook seems to know what I have requested earlier and I'm immediately redirected to my app without the request which pages I want to allow access to.
How to reconnect or what's the normal way to fix that problem?
I use Facebook's PHP Graph SDK 5.7.
#CBroe That didn't work either, but then I've cleared all permissions and chosen to reopen the site selector dialog, chosen all sites and closed, removed the information from my database and reconnected... Now the dialog appeared! Thank you for your help! Helped me a lot!

I can't get Facebook app settings right for a photo upload

I have a vb6 application that creates a jpg image. I need to have the user click on a button to have that image uploaded to her Facebook page. I created a Facebook app and use an api (chilkat) with my vb6 to do the upload. But, I've really been stumbling around trying to get it working. On the Facebook side, what settings should I have to just upload a photo? For example, this runs on Windows PCs... what platform do I designate in my Facebook app??
Also, my current attempts get an error from Facebook saying that "Can't Load URL: The domain of this URL isn't included in the app's domains." I expect this upload to be from the user's PC to Facebook. What URL/domain do they want?
Are there samples of this type of thing that I could check? Thanks - John
New info as of Nov 12 --
I have the Facebook app set as a Website using "localhost" which seems to move me along a bit. But, now I get the error --
"The request is invalid because the app is configured as a desktop app"
Is that telling me my Facebook app is a desktop??... or that my vb6 code says it is a desktop? If I have to change the Facebook platform, it looks like I need a Windows store id? If so, is that just a simple registration (and $19)? Thanks - John

Meteor Facebook Login "You are using a display type of 'popup' in a large browser window or tab" Error

I am using meteor accounts-ui/accounts-facebook to login and am getting the following error.
You are using a display type of 'popup' in a large browser window or tab. For a better user experience, show this dialog with our JavaScript SDK without specifying an explicit display type. The SDK will choose the best display type for each environment. Alternatively, set height and width on your window.open() call to properly size this dialog if you have special requirements precluding you from using the SDK. This message is only visible to developers of your
http://goo.gl/IBmdjI (screenshot)
I haven't been able to find any information on the fix anywhere. Is this something in meteor core that needs to be changed?
This isn't a issue really its just a warning. Meteor doesn't use the JS Facebook SDK and gives a specified height/width for the facebook OAuth dialog & your browser size may be too big for the small popup (not too sure- looks ok in your screenshot).
If you disable your app from Sandbox mode/another user uses your app they wouldn't see this warning anymore.
The alternative is to use a redirect to facebook or a mobile display. The best option is the popup (what you have now) because it's the fastest: A redirect means your Meteor app has to reconnect up.

Can I prompt a user to log in to facebook through a bookmarklet generated div?

I'm looking to see some info about my facebook contacts, and I want the info to be overlayed on the currently open website.
Currently, I'm trying to do this via a bookmarklet.
Is it possible for me to overlay a div over the currently open web page and populate it with a functioning facebook login button (if the user is not logged in)? Are there publicly available working examples of something like this?
It is probably not possible to simply embed Facebook within an iframe because Facebook blocks people from embedding their pages within frames or iframes by putting this into the response header, "X-Frame-Options: DENY". This is most likely to prevent click-jacking and similar security exploits.
To test this, enter any page from Facebook into http://savanttools.com/testframe
Facebook has an API which allows you to do many things, but it requires server side code, and can not be done simply with a bookmarklet.
There is also always the brute force method where your server scrapes data from any website you want it to. Then that data could be put into a bookmarklet.
Finally, the same thing could be achieved by writing an add-on or a user script without using a bookmarklet at all.

FB App opening in new browser rather then FB Canvas if I use DJango Fandjango App

I have a FB App which I created using Fandjango. It works fine if a user logs in to the application for the first time but in case user has used the app earlier and want to open the app, it opens up in independent browser and not in FB Canvas.
Any Idea how can it be corrected.
You're seeing this behavior because Fandjango caches the signed request in a cookie so you don't have to proxy every request through the Facebook canvas. There is currently no way to disable caching because it would introduce a very large overhead (several seconds per request) and make it very difficult for you to redirect the user to various parts of your application.
See https://github.com/jgorset/fandjango/issues/55.