Bot-Factory 602 Posted March 28, 2014 Report Share Posted March 28, 2014 Is there currently any proxy support?What do you try to archive? The graphs api limits are relatively high. So it's hard to hit it. And at the same time I'm not sure if the amount of api calls per token will increase if you use differnet IPs. From their policy the only limits I can find:If you exceed, or plan to exceed, any of the following thresholds please contact usas you may be subject to additional terms: (>5M MAU) or (>100M API calls per day) or (>50M impressions per day). Source:https://developers.facebook.com/policy/ I can't find anything if the IP has an impact or not. But maybe I understand your question wrong. What do you want to archive with proxies? Dan Link to post Share on other sites
Steve 30 Posted March 28, 2014 Report Share Posted March 28, 2014 What do you try to archive? The graphs api limits are relatively high. So it's hard to hit it. And at the same time I'm not sure if the amount of api calls per token will increase if you use differnet IPs. From their policy the only limits I can find:If you exceed, or plan to exceed, any of the following thresholds please contact usas you may be subject to additional terms: (>5M MAU) or (>100M API calls per day) or (>50M impressions per day). Source:https://developers.facebook.com/policy/ I can't find anything if the IP has an impact or not. But maybe I understand your question wrong. What do you want to archive with proxies? Dan Proxies to login to multiple accounts using different IPs for each. I always like to have a dedicated IP per different account.Although, I guess since it's using an API, it might not be a necessity.... 1 Link to post Share on other sites
stanf 43 Posted March 29, 2014 Report Share Posted March 29, 2014 help,,,i dont see the get api token peramiter Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted March 29, 2014 Author Report Share Posted March 29, 2014 i understood and was hoping you will expand this plugin as "the facebook" plugin and not build another one... please DO NOT build another plugin for Facebook, this plugin price will increase anyways and i prefer paying extra for an upgrade to this one but i will not buy another one. Ubot is already unstable enough and barely opens and load the plugins but to have yet another plugin is already an uBot nightmare.smaller in size a plugin is the better it is for compiling. Is there currently any proxy support?not yet but looking into adding it. help,,,i dont see the get api token peramiter$fb api http graph token this will get the token and can get a new one calling it anytime you like as shown in the example code as well. Link to post Share on other sites
nuc63 27 Posted March 29, 2014 Report Share Posted March 29, 2014 Please consider adding fb unlike Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted March 29, 2014 Author Report Share Posted March 29, 2014 Please consider adding fb unlikewill do so ATTENTION. 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
Kev 69 Posted March 29, 2014 Report Share Posted March 29, 2014 Nicely done TJ. Picking this one up. Link to post Share on other sites
automaton 2 Posted March 29, 2014 Report Share Posted March 29, 2014 Thanks TJ, bought the plugin and as always, your stuff rocks! Link to post Share on other sites
stanf 43 Posted March 29, 2014 Report Share Posted March 29, 2014 I am not sure what i am doing wrong, I can not retreive the token define $returned { return($plugin function("FBAPIPlugin.dll", "$fb api http graph token", "+639229680987", 9229680987))}set(#ddddd, $returned(), "Global")plugin command("FBAPIPlugin.dll", "fb api container", #ddddd) { plugin command("FBAPIPlugin.dll", "fb api search groups", "bbw", &ccccc)} Link to post Share on other sites
luis carlos 94 Posted March 30, 2014 Report Share Posted March 30, 2014 How does the "other search types" work? Looking for "gold" as it is by default, does not grab any results at all. Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted March 30, 2014 Author Report Share Posted March 30, 2014 I am not sure what i am doing wrong, I can not retreive the token define $returned { return($plugin function("FBAPIPlugin.dll", "$fb api http graph token", "+639229680987", 9229680987))}set(#ddddd, $returned(), "Global")plugin command("FBAPIPlugin.dll", "fb api container", #ddddd) { plugin command("FBAPIPlugin.dll", "fb api search groups", "bbw", &ccccc)} see attention area in this post linkhttp://www.ubotstudio.com/forum/index.php?/topic/16201-sell-facebook-api-plugin-sale-price-good-for-2-days/?p=94326 How does the "other search types" work? Looking for "gold" as it is by default, does not grab any results at all.I will give a better example of that when i retrn back on the net. right now working from my phone till new service is installed Link to post Share on other sites
stanf 43 Posted March 30, 2014 Report Share Posted March 30, 2014 i am still lostcan someone look at this and tell me where i am oing wrongi can not get this plugin to function-----------------------------------------------------------------------------------------ui stat monitor("token", $taken())clear cookiesnavigate("https://www.facebook.com/", "Wait")wait for element($element offset(<birth day dropdown>, 0), "", "Appear")change attribute($element offset(<email field>, 0), "value", "+639229680987")change attribute($element offset(<password field>, 0), "value", 9229680987)click(<login button>, "Left Click", "No")wait for browser event("Everything Loaded", "")loop(1) { click(<name="skip">, "Left Click", "No") wait(2) if($exists(<class="uiButton uiButtonLarge">)) { then { click(<value="Skip">, "Left Click", "No") } else { } } wait for browser event("Everything Loaded", "") click(<name="skip">, "Left Click", "No") wait for browser event("Everything Loaded", "") click(<name="skip">, "Left Click", "No") wait for browser event("Everything Loaded", "") click(<name="skip">, "Left Click", "No")}in shared browser { navigate("https://developers.facebook.com/tools/explorer/", "Wait") if($exists(<login button>)) { then { change attribute(<email field>, "value", "+639229680987") wait(1) change attribute(<password field>, "value", 9229680987) click(<login button>, "Left Click", "No") } else { } } token fic()define $taken { return($plugin function("FBAPIPlugin.dll", "$fb api http graph token", "+639229680987", 9229680987)) }} Link to post Share on other sites
Bot-Factory 602 Posted March 30, 2014 Report Share Posted March 30, 2014 i am still lostcan someone look at this and tell me where i am oing wrongi can not get this plugin to function-----------------------------------------------------------------------------------------ui stat monitor("token", $taken())clear cookiesnavigate("https://www.facebook.com/", "Wait")wait for element($element offset(<birth day dropdown>, 0), "", "Appear")change attribute($element offset(<email field>, 0), "value", "+639229680987")change attribute($element offset(<password field>, 0), "value", 9229680987)click(<login button>, "Left Click", "No")wait for browser event("Everything Loaded", "")loop(1) { click(<name="skip">, "Left Click", "No") wait(2) if($exists(<class="uiButton uiButtonLarge">)) { then { click(<value="Skip">, "Left Click", "No") } else { } } wait for browser event("Everything Loaded", "") click(<name="skip">, "Left Click", "No") wait for browser event("Everything Loaded", "") click(<name="skip">, "Left Click", "No") wait for browser event("Everything Loaded", "") click(<name="skip">, "Left Click", "No")}in shared browser { navigate("https://developers.facebook.com/tools/explorer/", "Wait") if($exists(<login button>)) { then { change attribute(<email field>, "value", "+639229680987") wait(1) change attribute(<password field>, "value", 9229680987) click(<login button>, "Left Click", "No") } else { } } token fic()define $taken { return($plugin function("FBAPIPlugin.dll", "$fb api http graph token", "+639229680987", 9229680987)) }} Hi. I just tested the Plugin and it works fine. The first thing you have to do is to manually generate an access token on the facebook site:https://developers.facebook.com/tools/explorer/?method=GET&path=me%3Ffields%3Did%2Cname&version= You click get access token.Select all checkboxes on all three windows.Confirm all the dialogs. So that you see a token in the token field. All of that has to be done in your regular browser. NOT in ubot. after that is done, then you can start using the Plugin.The token you manually created is associated with your facebook login credentials. At the moment the plugin has a problem generating those tokens. But it can request and use them. So after the token is there, you use ubot: ui text box("email", #email)ui text box("password", #password)ui stat monitor("Token: ", #Token)set(#Token, $get token from facebook(), "Global")define $get token from facebook { return($plugin function("FBAPIPlugin.dll", "$fb api http graph token", #email, #password))} Enter your normal facebook email and password into those fields and hit run.Bäm.. you now see the token in the ubot stats UI. Done. Now you have that token and you can continue using all the other facebook plugin stuff. PS:Automating the facebook get Access Token website stuff is very tricky. I played around with that a while ago. But it's not very easy. There is some javascript stuff and other "strange" things running. So the best way is to generate the token manually. TJ will probably fix this very quickly so that the api can get that token without any manual stuff on the website. Because the tokens are only valid for 2 hours. And then you have to do that again on the website. But for now, at least you can start developing your bots with the plugin. And as soon as TJ fixes that annoying bug, all is good and you don't have to go to the facebook page every 2 hours to request a new token. Hope that helps.Dan 1 Link to post Share on other sites
ecbzh 47 Posted March 30, 2014 Report Share Posted March 30, 2014 Thanks Dan !! I was wondering how to get the token with the plugin ... Now I know and it works great Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted March 31, 2014 Author Report Share Posted March 31, 2014 Dan thanks for that I'm. Currently without internet but in next update the setting of permissions will be taken care of and all will be good with that. Thanks for the example code to help others for now. Very appreciative. Link to post Share on other sites
automaton 2 Posted March 31, 2014 Report Share Posted March 31, 2014 Overall the pluggin is working tremendously. Only problem I am having is with the Picture type attachment. The picture just shows up as a link if i use a web hosted image (like in photobucket, or on my own server). If I put the path to an image on my computer. it doesnt upload it all. When my users use a pic in their post, they want the image to show...not just a link. any advice would be appreciated. (I have watched the video, and gone through the sample code). Posting without the image works great. plugin command("FBAPIPlugin.dll", "fb api container", $get token from facebook()) { if($comparison(#ImageFile, "=", $nothing)) { then { plugin command("FBAPIPlugin.dll", "fb api put wall post", $list item(%GroupIDs, #CurrentProgress), $spin(#PostText)) } else { plugin command("FBAPIPlugin.dll", "fb api message attachement", "picture", #ImageFile) wait($rand(7, 12)) plugin command("FBAPIPlugin.dll", "fb api put wall post", $list item(%GroupIDs, #CurrentProgress), $spin(#PostText)) } } } Link to post Share on other sites
Bot-Factory 602 Posted March 31, 2014 Report Share Posted March 31, 2014 Overall the pluggin is working tremendously. Only problem I am having is with the Picture type attachment. The picture just shows up as a link if i use a web hosted image (like in photobucket, or on my own server). If I put the path to an image on my computer. it doesnt upload it all. When my users use a pic in their post, they want the image to show...not just a link. any advice would be appreciated. (I have watched the video, and gone through the sample code). Posting without the image works great. plugin command("FBAPIPlugin.dll", "fb api container", $get token from facebook()) { if($comparison(#ImageFile, "=", $nothing)) { then { plugin command("FBAPIPlugin.dll", "fb api put wall post", $list item(%GroupIDs, #CurrentProgress), $spin(#PostText)) } else { plugin command("FBAPIPlugin.dll", "fb api message attachement", "picture", #ImageFile) wait($rand(7, 12)) plugin command("FBAPIPlugin.dll", "fb api put wall post", $list item(%GroupIDs, #CurrentProgress), $spin(#PostText)) } } }Good Morning, the FB graph api doesn't allow uploading pictures. You can only post a link to a picture.I just tested both settings (link / picture) and it works fine for me. Here's what I recommend: 1. Check your token settings:https://developers.facebook.com/tools/explorer/Click on "Get Access Token"Are all options selected? 2. Test it on your own wall first to see the difference between link and picture. Here's some test code (Add your URL to #imagefile):set(#token, $plugin function("FBAPIPlugin.dll", "$fb api http graph token", "xxx", "xxx"), "Global")set(#imagefile, "", "Global")plugin command("FBAPIPlugin.dll", "fb api container", #token) { plugin command("FBAPIPlugin.dll", "fb api message attachement", "link", #imagefile) plugin command("FBAPIPlugin.dll", "fb api put wall post", "me", "Test Post1") alert($plugin function("FBAPIPlugin.dll", "$fb error"))}plugin command("FBAPIPlugin.dll", "fb api container", #token) { plugin command("FBAPIPlugin.dll", "fb api message attachement", "picture", #imagefile) plugin command("FBAPIPlugin.dll", "fb api put wall post", "me", "Test Post2") alert($plugin function("FBAPIPlugin.dll", "$fb error"))} CheersDan Link to post Share on other sites
stanf 43 Posted March 31, 2014 Report Share Posted March 31, 2014 thanx for pointing me in the rite direction with this , dan Link to post Share on other sites
automaton 2 Posted March 31, 2014 Report Share Posted March 31, 2014 Thanks Dan Link to post Share on other sites
tinear10 1 Posted March 31, 2014 Report Share Posted March 31, 2014 Hello TJ, Great work! After we searched a term and got a list of Pages how can we then get the User IDs that Like those Pages? Thanks Link to post Share on other sites
whoami 26 Posted April 1, 2014 Report Share Posted April 1, 2014 Wow, I must hurry up, this is a great plugin! Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 2, 2014 Author Report Share Posted April 2, 2014 Since I've been down without internet the discount will last till I get online. Should be anytime now so get in while it's cheap and before additional features are added. TineR10 once you have the id numbers you can then use those to navigate to them or the object grabber and use aymen's json parser to extract what your look for Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted April 2, 2014 Report Share Posted April 2, 2014 Suggestions for the future update: - scrape all members of a group- scrape all users who liked the page- auto tag friends in your post or someone's post- option to get facebook username (the one on their url www.facebook.com/user.name) instead of userID- get more info about the user if its available on their profile. birth date, gender, relation status, contact information etc..- get users friends list Thanks Link to post Share on other sites
stanf 43 Posted April 2, 2014 Report Share Posted April 2, 2014 can someone tell me what goes into the arg space in the param function get object, Link to post Share on other sites
automaton 2 Posted April 2, 2014 Report Share Posted April 2, 2014 has been working great until this morning. each of my bots that worked great yesterday wont grab info through the api this morning. I checked fb anf it shows all systems green on their end. anyone else having this issue this morning, or is it just my bots? Link to post Share on other sites
Recommended Posts