Jump to content
UBot Underground

[SELL] Facebook API Plugin (Extreme API Options)


Recommended Posts

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:

  1. 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
  • Replies 199
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Listed on our website at http://www.botguru.net/facebook-fql-explained/   Facebook API – FQL Tutorial From the Facebook Query Language (FQL) documentation Queries are of the form SELECT [field

Update Added:   Proxy support for fetching tokens, as well as command for use inside the fb container to allow for multi threading. http://content.screencast.com/users/lowridertj/folders/Ubot%20Stu

The version number of the DLL did not change with the last update. It's still 1.0.1.1   Here's the hash of the latest file: MD5: 2fddedb82676f56e34b04fbbf25a9e71   Cheers Dan

Posted Images

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:

  1. 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....

  • Like 1
Link to post
Share on other sites

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

Please consider adding fb unlike

will do so

 

 

ATTENTION

.

 

If you/your customer experience problems using this api

go to: https://www.facebook.com/login.php?next=https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fexplorer%2F145634995501895%2F

select 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

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

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 link

http://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

i am still lost

can someone look at this and tell me where i am oing wrong

i can not get this plugin to function

-----------------------------------------------------------------------------------------

ui stat monitor("token"$taken())
clear cookies
navigate("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

i am still lost

can someone look at this and tell me where i am oing wrong

i can not get this plugin to function

-----------------------------------------------------------------------------------------

ui stat monitor("token"$taken())

clear cookies

navigate("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

  • Like 1
Link to post
Share on other sites

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

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"))

}

 

 

Cheers

Dan

Link to post
Share on other sites

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

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

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

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
Guest
This topic is now closed to further replies.

×
×
  • Create New...