Are lightbox-style popups allowed when using Google Adwords? - popup

Google's AdWords policies state:
Pop-Ups
Don't use pop-up windows on your site.
We do not approve destination URLs that generate pop-ups when users enter
or leave your landing page.
We consider a pop-up to be any window, regardless of content, that opens
in addition to the original window.
This includes pop-unders, timed or intermittent pop-ups, mock system
warnings, and pages that automatically initiate a download.
Does anyone know if that includes Lightbox effect popups that occur within the same browser window, and just lay on top of the content? The terms "popup" and "window" are ambiguous in the above policy, and it's not clear whether by "window" they mean simply the browser window, or whether the Lightbox content would count as a new window.
Anyone know for sure?

As long as the lightbox opens only on user's direct action of, supposedly, clicking a thumbnail to open a bigger version, I don't think it's treated as a popup per se.
Opening a pop-up/pop-under on page open or leave, or through clickjacking is evil and those are the cases condemned by the policy.
Here's a blog post from Adwords team about why popups are disapproved. You can see that lightbox does not fit the profile.

Related

Chatbot open link in parent window

I am totally new using Chatbot and I'm creating a chatbot using the Microsoft Bot Framework. Chat window is opened in an iframe.
I want to display a link in the chat message and open the link in the parent window itself (not in a new window or new tab). Is it possible to achieve this?
Otherwise can I automatically redirect to any url in my parent window from chat window?
Your question has 2 answers:
1: Yes, it is possible to change the parent window, or top window, to another URL. (Provided the browser's security mechanism allows it: eg. both pages are hosted on the same domain and no special security restrictions have been added to the iframe)
You can do this using javascript:
window.parent.location.href = '<url to browse to>';
Or html:
Link
2: When you change the URL of the parent page (the page with the iframe), your iframe will no longer be visible, since you are redirecting to a new page.
Since you will therefore close the iframe, and thus the chat window, this might not be what you want to do. My advice would be to use a new tab for links; this not only makes for a better user experience, but will also make it so you don't have to worry about security settings in browsers changing and then breaking your application.

URLs redirect to spyware site

We are developing an app that makes posts on behalf of our users to Facebook. Within those posts, we want to put links to external (non-Facebook) websites.
Looking at the links in the status bar of the browser (usually Chrome), the correct URL is displayed. However, Facebook seems to wrap the actually-clicked link into some extra bells-and-whistles. Usually, this works correctly.
Sometimes, however, this URL wrapping ends up sending the click to a URL like:
http: //spywaresite.info/0/go.php?sid=2
(added space to make it non-browsable!) which generates Chromes severe warning message:
This happens very occasionally on Chrome, but very much more often in the iOS browser on the iPhone.
Does anyone have any pointers as to how to deal with this?
EDIT
For example, the URLs we put in the link is
http://www.example.com/some/full/path/somewhere
but the URL that actually gets clicked is:
http://platform.ak.fbcdn.net/www/app_full_proxy.php?app=374274329267054&v=1&size=z&cksum=fc1c17ed464a92bc53caae79e5413481&src=http%3A%2F%2Fwww.example.com%2Fsome%2Ffull%2Fpath%2Fsomewhere
There seems to be some JavaScript goodness in the page that unscrambles that and usually redirects correctly.
EDIT2
The links above are put on the image and the blue text to the right of the image in the screenshot below.
Mousing over the links (or the image) in the browser shows the correct link. Right-clicking on the link and selecting "Copy Link Address" gets the fbcdn.net link above (or one like it). Actually clicking on the link seems to set off some JavaScript processing of the fbcdn.net link into the right one... but sometimes that processing fails.
I'm not 100% sure what you're asking here, but i'll tell you what I know:- are you referring to this screen on Facebook?
(or rather, the variation of that screen which doesn't allow clickthrough?)
If you manually send a user to facebook.com/l.php?u=something they'll always see that message - it's a measure to prevent an open redirector
if your users are submitting such links, including the l.php link, you'll need to extract the destination URL (in the 'u' parameter)
If you're seeing the l.php URLs come back from the API this is probably a bug.
If links clicked on facebook.com end up on the screen it's because facebook have detected the link as suspicious (e.g. for URL redirector sites - the screen will allow clickthrough but warn the user first) or malicious/spammy (will not allow clickthrough)
In your app you won't be able to post links to the latter (an error will come back saying the URL is blocked), and the former may throw a captcha sometimes (if you're using the Feed dialog, this should be transparent to the app code, the user will enter the captcha and the dialog will return as normal)
If this isn't exactly what you were asking about please clarify and i'll update my answer
Rather than add to the question, I thought I'd put more details here.
It looks like the Facebook mention in the original title was mis-directed, so I've removed it.
We still haven't got to the bottom of the issue.
However, we used both Wireshark and Fiddler to look at the HTTP traffic between the Chrome browser (on the PC) and Facebook. Both showed that Facebook was returning the correct URL refresh.
Here's what Wireshark showed:
What we saw on Fiddler was that our server is issuing a redirect to the spywaresite.info site:
We are working with our ISP to figure out what is happening here.

Facebook Tab on pages

Whats the best way to develop a tab on facebook in a facebook page with content inside it? Would it just be html within that tab?
Easiest way is to install a 3rd party iframe App on your Facebook Page. You can find these Apps by searching for "iframe" in Facebook's search. Once you have one of these Apps installed, you can customize the HTML/CSS/JS of the iframe, which will then be reflected on you Page Tab. Alternatively, you could create your own Facebook App and install it as an iframe in your Facebook Page. This will achieve the same thing, and may give you more control, but you will have to host the html/css/js files yourself and it will be more work.
I recently have the same need.
To just place a facebook tab containing just a static html with text and image.
Here are the steps. It can be quite a nightmare to review the documentation of Facebook since it is always in change.
In the home page, click in the settings button. There is a link "Create application". You have to be sure to be in the Facebook development section
In the Create Application home page. In the upper menu there is the button "Applications". Here will be listed all your applications. If this is the first time, again the button "Create a new app"
3.Enter the information requested. Name of the application, an identifier (I prefer the same display name without spaces) and choose a category.
As a security step, a captcha is shown. Just fill with the characters in the screen.
Since your tab is an html. You have to host this file in your own server in order to have a path. The first tricky thing here is to convert this file into a php, asp, or similar extension. since Facebook uses GET or POST protocol to send information. You have to ensure that your file understands this requests. So, your server must accept the corresponding programming language. Even if your tab doesn't have any real code.
The configuration of your app is shown in screen. In the left menu, the option "configuration" displays the options to activate your tab.
click "Add plattform" button and select Facebook tab
fill the information required with the corresponding URLs. Note: Facebook always requires secured URLs so make sure that your server or hosting service has the SSL certificate validated.
Upload the image of your tab to be shown in the home of your profile in your tab section.
ok, so far we are good. Now. This was a long search. There is no longer the "Add to my webpage" link anywhere. So use this link to access to that hidden link. here Basically you enter the facebook app id and the URL of the hosted file.
Then you select the facebook page where you want to link this tab. And that's it!
note: the alternative to the link is this: (https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL )
Hope this helps. It was a waste of time when I have to search for the details so I want to share this.

Facebook Like button cyclically opens and closes a popup window, facebook.com/connect/connect_to_external_page_widget_loggedin

I associated a Facebook account with my GaiaOnline account; we use Connect to accomplish this. I created a JS Like button for a page at FB's dedicated page: developers.facebook.com/docs/reference/plugins/like
The Like button's code was
Upon clicking the Like button in XP/firefox 3.6.13, while logged into Gaia and FB, a popup window rapidly opens and closes cyclically until the process is terminated. This behavior is not repeatable on other windows machines, macs or chrome. Presumably this is Facebook trying to initiate a FB login page, per their third-party login process: developers.facebook.com/blog/post/312
My history identifies this page as "http://www.facebook.com/connect/connect_to_external_page_widget_loggedin.php?social_plugin=like&external_page_url=http%3A%2F%2Ftest135.open.dev.gaiaonline.com%2Fforum%2Fentertainment-discussion%2Fthe-roommate-what-s-the-best-thing-about-having-a-roommate%2Ft.67947263%2F".
A video of this transpiring is uploaded to Youtube: http://www.youtube.com/watch?v=1asJ4kMNL6w
What is causing the popup behavior, and what can be done to fix it?
Try enabling 3rd party cookies
http://support.mozilla.com/kk/questions/761194#answer-127335

Facebook page: How to add a customized box at the bottom left side of wall tab?

Dear all, I have a question about Facebook Page: (NOT user profile page, I mean a facebook page where you can become a fan)
How to add a customized box at the bottom left side of wall tab?
(I am the page creator/admin)
Please don't just give an answer "add the box to the page". Cause I really don't know how.
Also, it seems that putting $facebook->api_client->profile_setFBML and $facebook->api_client->profile_setInfo for the application won't provide a way for the page to add the box.
Below is an example image that is done by the other. I have circled the box at the image. I would like to know how to do the same to the page that I owned. Many thanks for reading.
alt text http://design.outblaze.com/calvin/facebook/facebookPageBoxQ.jpg
$facebook->api_client->profile_setFBML
is absolutely correct afair. Go to the App Page and Add the App to your Fan Page. It will most properbly appear in the Boxes Tab.
// get the fbml for the box
$main_box = $this->render();
// the first main_box is actually deprecated feel free not to use it
$this->facebook->api_client->profile_setFBML($main_box, PAGE_ID, $main_box, NULL, $main_box, $main_box);
// for easier workflow forward the user directly to the page
$this->facebook->redirect(PAGE_URL);
But as said by others in this thread in 90% of the cases the Static FBML App by Facebook does the job.
Unreality's answer helped me best but one clarification is needed. These boxes can be added only to "Pages" that you have admin rights to. You cannot add one of these boxes to your profile page from what I can see. (Anybody? Prove me wrong, please!)
You write an application that has a box. You add the box to the page, then move the box to the page's wall.
For example, I moved the Notes box on my app's page to my wall so you could see it:
http://www.facebook.com/apps/application.php?id=96193636102
Update, with more info:
In general, the way you do this is you add a function to your app that creates a block of fbml and passes it to setFBML(), using your page's ID instead of a user ID as the destination.
I'm planning to do this myself to add some summary statistics to my app's profile page, but that has to wait til after working hours.
I have found the answer. It's using the static fbml made from facebook
http://www.facebook.com/apps/application.php?id=4949752878&ref=s
Go there, click "add to my page", and pick your page.
Then goto your own page, and click "Edit page", then you will find FBML under the applications.
Click the pencil at the FBML box top right, select edit.
Then at the edit page, just write something up and save the changes
Next go back to your own page. Goto the "Boxes" tab, you will find the FBML box that you have just made.
Click the pencil button at the FBML box, select "Move to Wall Tab", and then done! Happy FaceBooking!
As far as I understand the profile boxes will be removed soon.