Remove fake Facebook fans using iMacros? - facebook

Our NPO's Facebook page has a lot of fake fans brought in by the previous admin. I'd like to get rid of them so we can actually get some engagement from our real fans. The fake fans all liked our page at the same time andI can bring up a page on Facebook that has a ton of them in a row like so
https://www.facebook.com/browse/?type=page_fans&page_id=[MY PAGE ID]&start=800
But on that page are non traditional drop-down menus with autogenerated ids. The only option there I can see is to record a mouse position macro to click the menu then 'Remove from Page Likes' then 'Confirm' and repeat. This is slow and after about 30 it goes out of alignment and clicks thin air.
I had a look at iMacros to do things faster but after recording the macro then running it:
EVENT TYPE=CLICK SELECTOR="#u_0_d" BUTTON=0
EVENT TYPE=CLICK SELECTOR="#u_0_b>DIV>UL>LI:nth-of-type(2)>A>SPAN>SPAN" BUTTON=0
EVENT TYPE=KEYPRESS SELECTOR="#u_o_1>DIV:nth-of-type(3)>BUTTON" KEY=13`
Leads to an error:
RuntimeError:
Can not locate element specified by selector "#u_o_1>DIV:nth-of-type(3)>BUTTON",
line 6 (Error code: -921)
I'm assuming that it's because an id has changed between the person I removed when recording and the next person the script is trying to run on. However I'm not sure what I have to change to make it just click or press Enter on whatever button is there on the screen
Can anybody help? Thanks!

Related

Refresh amp-list content on button click

I have a page that generates random numbers for a user. On page load, it will generate data and I can handle this much with amp-list. What I want is to have a button where the user can generate new data. Think of it like a bingo number generator. Page loads and presents the user with a 6. They want a new number, how can this be done?
I was thinking I could force the page to reload by linking to itself. So the "new number" button would actually just be a url link to the exact same page and this will generate a new number on page load. Using a div with an ID i can provide #randomnumber in the URL and it will go straight to this position.
Im a bit worried about this though as Google might see this as me attempting to inflate viewing numbers to get more ad revenue and what not. Is there a better way to go about this?
You can use changeToLayoutContainer to refresh data in amp-list. Give it an ID and reference that in your on
Example:
<button on="list.changeToLayoutContainer()">Show Grid</button>

Problems caused by Facebook like button changing to confirm in iframe application

I've developed a Facebook iframe application, where we run a contest. It can be found here :
http://www.united-bakeries.no/facebook/tub/0412/
(The web site is in norwegian. The link will expire on March 4th when the contest ends.)
The contest is about guessing the winner of the Vasaloppet ski race. When you click the like button on one of the athletes, the pictures of all the athletes disappear, and a form appears where the athlete you liked is selected in a select box, and you are asked to submit your email address to take part in the contest. You can also reach this form without liking one of the athletes, by clicking the link below all the athletes where it says "Dersom du ønsker å delta i konkurransen uten å klikke Liker på en av deltakerne over klikk her.".
I think the contest works exactly in the same way as the Quiz application that Offerpop offers ( http://offerpop.com/SiteProduct.psp?view=quiz ).
This worked great for awhile. But after some time the Like button suddenly changed so that it now needs confirmation. This is apparently very confusing for users, as the statistics show that people stopped participating in the contest when the confirm button appeared. Offerpop doesn't seem to have the same problem with their applications. Why?
I have put an alert box there explaining to people that they need to press the confirm button for it to work, but it seems that it then becomes too complicated for most people. Are there any workarounds for this?
Confirmation link appears when facebook notices something suspicius about where the like button is placed and how it is shown to the user. That means if you are hiding any part of the button, if it is completely hidden under a custom button or if your links get too many unlikes.
Even for 'legit' likes you may get the confirmation button but it will soon dissapear if everything is right. If not, contact Facebook.
Hope it helps.

how to customize facebook like button

I am usign the version of based on the <fb:like > tag. This renders a small facbook logo which implements the actual "like" operation, but also includes a large "signup to see what your friends like", or the number of likes when you are logged in, etc. It is pretty clear from what I have read that this is the form facebook wants you to use, but it makes the button to wide for my layout. The point is that I see other versions on websites all over, in particular "the weather channel" has one that includes only the logo with some text such as "like us" next to it. "Chicago Tribune" has one that says "recomend" with a very small like count next to it. I have not been able to determine what these link to or what script they invoke so that I can copy them. Can anyone help ?
when you get the code of the like button from facebook you can play with the options and get different results: http://developers.facebook.com/docs/reference/plugins/like/.
obviously it's limited to how facebook wants it to look like.
it is possible to change the look with css, but that's not wise since it's against their policy and you'd have to keep track with their changes.

restoring view's counter

I have an additional page called "precious feet" and when I first set it up I could view the amount of visits it got, however now it won't show this information, it also gives me the option to "like" which it never did before and I assume that is because it is my page and of course I will like it. Can anybody help me restore the functions. I have tried logging out and back in again but to no avail.
It sounds like you aren't the page admin anymore or you have a group not a page. Try clicking on the down arrow on the top right and under "Use Facebook as:" select your page. If it isn't there then it's likely you are no longer a page admin.

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.