Facebook Autopoke 4.0.1

By Mike Soh Last update Sep 8, 2011 — Installed 229,149 times.

Not working (4.0)

in
Subscribe to Not working (4.0) 19 posts, 9 voices



haremmon User
ChromeWindows

I'm using this script on google chrome and whenever I'm on my facebook homepage where all the pokes are listed there is no button to poke all.

It's as if I didn't install autopoke 4.0 :S

 
Mike Soh Script's Author
FirefoxWindows

Sorry, I don't use Google Chrome. I don't officially support it. Maybe someone from the community can provide some insight.

 
SUPER_KEG Scriptwright
ChromeWindows

I use Chrome and I have the same problem as well.

 
Bigyoman User
ChromeWindows

For Users who use Chrome you need to download ncamaj's edited Autopoke from when the Error 1.1 happened listed here http://userscripts.org/scripts/show/101852 . I don't know Mike if you approve, but it is the only working Autopoke for Chrome that is Up to Date.

 
Mike Soh Script's Author
FirefoxWindows

The script is properly licensed and attributed. No problems here. :-)

Are you guys getting a specific error when using Chrome? Saying it just doesn't work doesn't help me.

 
flare561 Scriptwright
FirefoxWindows

It simply doesn't work. I've debugged it to
var nodes = xml.evaluate(xpath_query, xml, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
returning fewer nodes, something about chrome's xpath evaluation seems to be stricter, but I'm not a javascript/userscript developer in any sense of the word. I'll keep seeing what I can do but if you have any ideas it would be a great help.

EDIT: I've done some further narrowing and it now seems to be in the decode string. Chrome doesn't understand the global argument, I should be able to get it.

 
flare561 Scriptwright
FirefoxWindows

Okay got it. List of things to change (Also updated my script at http://userscripts.org/scripts/show/101852 )
1) Chrome doesn't do .tld, change them all to .com
2) Chrome doesn't do string.replace("","","g") change them to the style of string.replace(/s1/gi, "s2")
3) Chrome dislikes
var prettyString = XML(serializer.serializeToString(xml)).toXMLString();
but
var prettyString = serializer.serializeToString(xml);
seems to work well enough.

I think that's all I had to change.

Mike Soh, as I said I'm not a userscript developer, so take what you want from my code and implement it in yours or don't. I've got it all trouble shot for chrome I think. Thanks for your work on the script it's really a useful tool.

 
haremmon User
ChromeWindows

Thank you flare, it's working now :)

 
ifearnothing User
FirefoxWindows

Hi, I'm running Firefox 5 on Windows, and whenever I try to install FB Autopoke 4.0 it gives me this error message that http://usocheckup.redirectme.net/5200.js doesent exist anymore.. Can you fix this?
Thanks :)

 
Mike Soh Script's Author
FirefoxWindows

@ifearnothing: You can just remove this line. It alerts you when a new version is available.

 
ifearnothing User
FirefoxWindows

Ok, thanks! I tried deleting that line before I posted on here, but it just gave me a "corrupted script" error.. But for some reason this time I tried it again and it worked ^_^ Thanks once again.

 
Mike Soh Script's Author
FirefoxWindows

Please read my latest post.

 
Deathshead747 User
FirefoxWindows

In my opinion this is an awesome userscript but recently I mistakenly installed http://userscripts.org/scripts/show/101852 and since then autopoke isn't poke back.....................I uninstalled the "other"(del. its directory from gm_userscripts) and also reinstalled your original autopoke 4.0 yet it isn't autopoking,so can you please temme wat I shuld(m a FF user)!!!
Secondly, I noticed v. 4.0(unlyk previous versions) isn't poking back when I click the Facebook logo,instead I hv to keep refreshing the page nd it's annoying so can you plz fix tht too...........
Thnx ;)
P.S I tried reinstalling Firefox but tht didn't help either...........

 
Patrick Ethen User
ChromeWindows

Chrome users - this extension works - confirmed 8/4/2011
https://chrome.google.com/webstore/detail/gmghn...

 
Mike Soh Script's Author
FirefoxWindows

@Deathshead747: I'm not sure what the "minor" fix was but this script is the "original" autopoke script (original is in quotes since I improved on the original script, which has never been recreated).

Your second question has to do with how FB communicates with the server. This is something I'm looking into, but I currently do not have a fix for this yet.

 
Deathshead747 User
FirefoxWindows

@Mike Soh thnx for the reply.................but for sum unknown reason the script isn't poking back even after I installed a fresh copy of firefox.................what seems to be the problem???
Update: I reinstalled firefox again and voila it started to work again :D

 
Deathshead747 User
FirefoxWindows

@Mike Soh I installed the script Better Facebook along with your script and guess wat it's autopoking when I click the fb logo :D

 
Dawndra User
FirefoxWindows

I downloaded the program, but when I click the install button nothing happens. It won't allow it to install, why is that?

 
Mike Soh Script's Author
FirefoxWindows

@Dawndra, you need to clarify what you are doing.

The script requires Firefox and Greasemonkey. Greasemonkey needs to be installed first. And then install the script.