jamesfar 15 Posted June 26, 2014 Report Share Posted June 26, 2014 And just parse the JSON and get the next and previous token to keep navigating? yes Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 27, 2014 Author Report Share Posted June 27, 2014 Aymen made a free Json Path Parser plugin short while ago that will help with just thathttp://www.ubotstudio.com/forum/index.php?/topic/16166-free-plugin-jsonpath-parser-plugin/ Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 9, 2014 Author Report Share Posted July 9, 2014 Update Added: Proxy support for fetching tokens, as well as command for use inside the fb container to allow for multi threading. Link to post Share on other sites
luis carlos 94 Posted July 9, 2014 Report Share Posted July 9, 2014 Same download link? Version number did not change, did it? Thanks Luis Carlos Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 9, 2014 Author Report Share Posted July 9, 2014 Same download link? Version number did not change, did it? Thanks Luis Carloscant honestly remember on version number but yes same download link. Link to post Share on other sites
jamesfar 15 Posted July 9, 2014 Report Share Posted July 9, 2014 you did not add the proxy support for "fb api http graph token authorize" function? Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 9, 2014 Author Report Share Posted July 9, 2014 you did not add the proxy support for "fb api http graph token authorize" function? taking care of it will be out shortly. Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 9, 2014 Author Report Share Posted July 9, 2014 you did not add the proxy support for "fb api http graph token authorize" function? Updated to allow proxys with that command now as well.just download with the same download link from purchase. 1 Link to post Share on other sites
jamesfar 15 Posted July 9, 2014 Report Share Posted July 9, 2014 Updated to allow proxys with that command now as well.just download with the same download link from purchase. When doing multithreading the token is messed between accounts Please check it TJ Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 9, 2014 Author Report Share Posted July 9, 2014 Its a common issue with Ubot, and container mode have the false sharing issues. its better to get the tokens in non multi thread, then multi thread your processes after you have the tokens for each account. Or can use Aymens local dictionary plugin to overcome the multi threading problem. Free Plugin:http://www.ubotstudio.com/forum/index.php?/topic/15327-free-local-dictionary-plugin-local-variables-issue-workaround/ 1 Link to post Share on other sites
jamesfar 15 Posted July 9, 2014 Report Share Posted July 9, 2014 Its a common issue with Ubot, and container mode have the false sharing issues. its better to get the tokens in non multi thread, then multi thread your processes after you have the tokens for each account. Or can use Aymens local dictionary plugin to overcome the multi threading problem. Free Plugin:http://www.ubotstudio.com/forum/index.php?/topic/15327-free-local-dictionary-plugin-local-variables-issue-workaround/ Yeah currently i grab the token in non multithread then back to multithread for all process I have problems with something called "key not found in dictionary" when using aymen local dictionary plugin. so i don't use it Link to post Share on other sites
JuiceBot 0 Posted July 9, 2014 Report Share Posted July 9, 2014 HI TJ, We have been eMailing back and forth and just found this thread so I wanted to post here to help anyone else with this issue. I am trying to get user name and id from page likes and you recommended using FQL. After some searching and learning curve I am trying to use your example to scrape the ID, first_name and last-name like this: (for this example I used the pageID from Coke because I saw one on my desk...LOL) plugin command("FBAPIPlugin.dll", "fb api container", #Token) { plugin command("FBAPIPlugin.dll", "fb api version", "none") set(#scraped, $plugin function("FBAPIPlugin.dll", "$fb api fql query", "SELECT first_name, last_name, pic_big FROM USER WHERE uid IN(SELECT uid FROM page_fan WHERE page_id=\'40796308305\')", "uid"), "Global") } alert(#scraped)and no dice. Is there a sample you can show us here to help us grab name and id of page likers using FQL in your plugin? Thanks so much! Justin Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 9, 2014 Author Report Share Posted July 9, 2014 Firstly, the FROM USERS should be FROM usersas the $fb error will point out that USERS does not exist. after that the selector of a general get all those fans of a page is not possible. You have to narror it down to a post instead, since facebook doesnt allow for grabbing all the users of a page that you've liked for anti spam/privacy reasons i believe. Your statement is not indexable. The WHERE clause must contain an indexable column. Such columns are marked with * in the tables linked from http://developers.facebook.com/docs/reference/fql You have to go into the likes of a post, image, video, then they still have a maximum limit of 5000 that are returned as well.https://developers.facebook.com/docs/reference/fql/like Link to post Share on other sites
botoballs 2 Posted July 15, 2014 Report Share Posted July 15, 2014 Hi Could the plugin scrape groups/pages IDs and profiles IDs not their usernames after using the advance search? Is their a way? Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 15, 2014 Author Report Share Posted July 15, 2014 the FQL would be great for that, since its a data query service in teh api Link to post Share on other sites
earthlingj 13 Posted October 16, 2014 Report Share Posted October 16, 2014 has this been fixed? "If you/your customer experience problems using this apigo to: https://www.facebook.com/login.php?next=https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fexplorer%2F145634995501895%2Fselect to generate a token, and permissions checkbox each and all check boxes in all tabs to fully enable the plugin.Then the plugin will work as normal for now. this will be taken care of in an update so you don’t initially have to do this." Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted October 16, 2014 Author Report Share Posted October 16, 2014 you can have the permissions added and selected by having it authorize by application with the fb api command available for that. Link to post Share on other sites
earthlingj 13 Posted October 16, 2014 Report Share Posted October 16, 2014 set(#Get Token, $plugin function("FBAPIPlugin.dll", "$fb api http graph token authorize", #Email, #Password, #UserAgent, #Proxy), "Global") Does not work and I have to do it manually which sucks. I dont like using the fb api login command because then it pops up the login dialog so it sucks for full automation. There is no other way? Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted October 16, 2014 Author Report Share Posted October 16, 2014 you cant automate the in browser login screen to authorize the application?thats one way to fully round it otherwise you can have it login to facebook as well go to graph, and set all access options as well. you can also use the attached code for inital run. to initialize the permissionsadd a hide browser node to hide what the browser is doing. first run fb.ubot Link to post Share on other sites
earthlingj 13 Posted October 16, 2014 Report Share Posted October 16, 2014 Yeah I could do it that way, but itd just be way nicer if $fb api http graph token authorize worked Link to post Share on other sites
luis carlos 94 Posted October 16, 2014 Report Share Posted October 16, 2014 Yeah I could do it that way, but itd just be way nicer if $fb api http graph token authorize workedBump for this! 1 Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted October 17, 2014 Author Report Share Posted October 17, 2014 It does work. exactly how the facebook api allows for us to do this.It has to request the end user permission with the api. Prompt for permission with dialog.which be it with ubot you can automate in a hidden browser as well. Link to post Share on other sites
earthlingj 13 Posted October 17, 2014 Report Share Posted October 17, 2014 facebook api login may work, but $fb api http graph token authorize doesnt. wasn't $fb api http graph token authorize created to be able to do all the graph token permissions in 1 go? rather than having to use browser or any work around? 1 Link to post Share on other sites
luis carlos 94 Posted October 17, 2014 Report Share Posted October 17, 2014 facebook api login may work, but $fb api http graph token authorize doesnt. wasn't $fb api http graph token authorize created to be able to do all the graph token permissions in 1 go? rather than having to use browser or any work around?Sure, like any other software that works using the facebook api. Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted October 17, 2014 Author Report Share Posted October 17, 2014 $fb api loginAllows you to set an application with the proper permissions needed, then it has to be ok'd by the software. the other functions allow you to grab a token from the account if permissions from the graph explorer have already been set on the account some troubleshootingif they security settings set to log the browser and different login locations they should turn it off from the settings panel if they have trouble. Link to post Share on other sites
Recommended Posts