Facebook - What is "XD Proxy", and can I block/hide it? - php

I'm trying to integrate a Flash Professional/AS3 game into Facebook. The swf is hosted on a secure (https) server. The swf has to connect to a SmartFoxPro socket server on another domain.
I'm using the Facebook Actionscript API to interface with Facebook. (Should I use PHP, instead? I read an article that recommends using PHP, because the Actionsrcipt API may not be kept up to date.) When I fire up my app, I get a "Security Information" pop-up box saying that the page contains both secure and nonsecure items. I click "yes" to all the display of the nonsecure items.
Then, I get an "XD Proxy blah-blah-blah" popup. This pop-up goes away, and then my app logs in to my SmartFox server.
So... What is this "XD Proxy" window? I think it looks unprofessional, and users may think there's an error with the app. Can I block or hide this window?
Also, can I block or hide the "Security Information" pop-up? Why don't I see this in other FB apps?

With regard to XD Proxy:
http://social.answers.microsoft.com/Forums/en-US/InternetExplorer/thread/fac1a0b0-fd15-482c-987c-57eba4c95c36
...When I fire up my app, I get a "Security Information" pop-up box saying that the page contains both secure and nonsecure items. I click "yes" to all the display of the nonsecure items.
The reason you are seeing this is because there are some elements on your page going through SSL and others that are not. Check to make sure the elements in your app are going through https:// (This includes images, links to CSS and JS files, links to SWF files, etc). I'm not sure about whether you need to have your flash element connect to your SmartFox server in a secure method, but if you can it would be a bonus.

Related

Link shares for a library portal

We are developing a library portal for our university. On this library website, we usually share many links to many content providers.
We have a requirement to implement so that users can perform actions through out users' experience of the library website including when using third-party content providers' platform.
For example: a user clicks on a content provider, from within the library website, continues browsing and when coming across an interesting article they should be able to share and/or save this article URL.
We have tried through utilizing an iframe whereby content providers covers the upper 90% of the page while the bottom 10% are used for call-for-action (save, share, etc).
This has failed due to obvious security reasons and all most all browsers does not support this if frame content resides outside our domain.
An alternative solution would be to implement a Chrome extension to achieve the same. However, forcing users to use a specific browser is not a healthy practice. Also we will face issues with mobile users.
I would appreciate listening to suggested workarounds.
You could use an alternative of an iframe. I think when a user clicks on a link to a 3rd party content provider:
Your site captures that click event
Send the requested url to your server via AJAX
Your server access the requested site contents
Your server dumps the requsted url HMTL/Javascript contents onto a modal of size 90% pn the user's screen
The remaining 10% of the screen can be utilized for a toolbar or any controls you may want like sharing, saving the link etc.

How to allow auto connect to microphone through web application on chrome without messages

I have recently been developing twilio web application. My application can receive calls. This feature is OK. But When answer button is clicked, message pops up "localhost want to use microphone". I want to avoid this message. I want to answer call once when answer button is clicked without any messages. Is it possible? if possible how can I do it?
Twilio evangelist here.
The request to access local sytem devices is a security feature built into the browser. If your website is being loaded over HTTP then the browser will prompt the user for access every time they load the page. If the site is loaded over HTTPS, then most browsers will automatically remember the authorization or allow the use to specify they want the authorization remembered.
Hope that helps.
For security reasons, the browser won't allow using microphone without asking the user. Chrome can be only set to ask for permission or always deny.
You can set an exception for these rules, but it will only affect your own browser. Other users will still have to allow microphone access when they open your site.

Android how to make my web view displaying a php page with a link to connect to the Android Market?

I have an application where I display a web view that connects to my website php file so I can offer up to date notes, so I'm trying to place a link in it so that the user can download other apps of mine, the problem I have faced is that when the links is clicked it opens google play inside the web view instead of opening the android market and so users have to login in to their google account first to download my app, if the android market opens everybody is log into it so they can just press the download button.
so here is the code I'm using in my php file
Get my other FREE App
reading the developer guide it says that when a link like this is clicked in a webpage from inside a Android device you can choose to open it with the browser or the market app, so why am I not able to choose.
Thanks for any advice.
EDIT:
here are a couple screen shots
It sounds like this is a device specific issue. You probably clicked on a market link before and set market links to open in the brower by default. To fix this open app settings and then click on your brower. There will be a section that says something like "you've set this app as the default app for somethings" below that text there will be a button that says something like "clear defaults". Clear your defaults and then try your link again. (Also, I should note that for play.google.com links to work your market app needs to up to date)
Edit: This question is probably actually what you are looking for.

Create Screen Shot of web page that user is visting in our site

I have to create screen shot of web page that user is visiting in our site, through PHP. I have testing many script, working well when I pass URL of live site like google etc, But i have to create screen shoot of page that the user is visiting in our site.
This isn't possible via PHP, you'd have to trigger a system event to open a browser and take a screenshot or have service installed on a machine specifically aimed at doing this.. It's a lot more involved than coding something up in PHP.
Command line program to create website screenshots (on Linux)

Opening an iphone app from PHP/Javascript coded website/page

My question is pretty simple actually... I wish to know if, and how, it is possible to check for the existence of an application on an iphone (twitter app for example) and then pop it open via PHP and/or javascript.
The process would go as follows:
User scans a QR code with his Iphone that links to the page
On the page, php or javascript does some magic to check if, and what, twitter applications exist.
The page then sends a custom URL scheme to open up the desired app (twitter:// for example).
Is this possible? Are there any examples of source code that display javascript/php doing this from within the context of an iphone?
Thank you for any help. :)
It would be imposible to check for the existence of an app from Safari.
You may launch an app using a link if the app has registered a protocol. For example, to launch the Facebook app and open it on the user profile you may link to fb://profile.
Here I found a list of some other iPhone apps protocols:
http://wiki.akosma.com/IPhone_URL_Schemes

Categories