Jump to content
UBot Underground

[BUY] Personal coaching for using API's with UBot


Recommended Posts

Ive been experimenting with API's and PHP code. But Im struggling with UBot (using TJ PHP plugin is not an option, since clients will have to install WAMP)

I cant find a way to get OAuth access tokens and make calls to API.

Struggling a lot with that and Im willing to pay someone to explain me on Skype or Chat or even PM.

 

Link to post
Share on other sites

the problem will be the returnPage which allways needs a webserver.

even  u use a smallserver  there are also a portproblem if client behind a router or firewall.

 

i wouldn say is impossible but a hard work

Link to post
Share on other sites

the problem will be the returnPage which allways needs a webserver.

even  u use a smallserver  there are also a portproblem if client behind a router or firewall.

 

i wouldn say is impossible but a hard work

 

Wow thats really strange, its very easy with PHP, but why UBot is more complicated?

What if I use a javascript code? Can i return the token when requesting?

Every person that gets a copy will have to create an APP and set the API Key and secret in order to use API?

Link to post
Share on other sites

Do you have an example website where you want to use it?

 

Dan

 

Sent you a PM, maybe we can solve this together and gain knowledge.

Link to post
Share on other sites

post the site here with a link to the api documentation. A lot of people work with apis here

 

One of the examples could be facebook.

 

The question is: How can I get an access token via HTTP GET / POST:

https://developers.facebook.com/docs/facebook-login/access-tokens

 

 

And then use that token to do a HTTP GET like:

https://graph.facebook.com/123123123?fields=id%2Cname&method=GET&format=json&suppress_http_code=1&access_token=xxxxxxxxxxxxxxxxxoHtC9KvDcLLHq3w7ybupSlMyNwxtfbqCyBFoZC1xsYApq16fxsxxxxxxxxxxxxxxxxxxxxMEDgLZBXc1nTvsqRjNscIY91A2Rgs07ahxsVwZAEF6e5TknvJLer3zNOWGR3YDN24s7ZCDFtDUAcZD

 

Dan

Link to post
Share on other sites

yep can be done using http plugin didn't look at the facebook to much but there all pretty much the same.

 

you need to find the post statement with you dev key that will prompt the user to enter there credentials.

you then replicate the credential allow access to your app http post again(depending on which oauth slightly different ways)

most redirect to a url once complete that you specified in the first statement here you will get the key for that user.

 

oauth2 is easier but depends on which the site is using.

Don't forget when you signup for a dev key site to not set you app to a desktop app as some apis limit you due to the easy access of your dev key.

 

When the api documentation talks about server side etc. Remember your doing both server side requests and client side requests from the same place so don't let the documentation confuse you.

 

hope this helps

Link to post
Share on other sites

I can

 

yep can be done using http plugin didn't look at the facebook to much but there all pretty much the same.

 

you need to find the post statement with you dev key that will prompt the user to enter there credentials.

you then replicate the credential allow access to your app http post again(depending on which oauth slightly different ways)

most redirect to a url once complete that you specified in the first statement here you will get the key for that user.

 

oauth2 is easier but depends on which the site is using.

Don't forget when you signup for a dev key site to not set you app to a desktop app as some apis limit you due to the easy access of your dev key.

 

When the api documentation talks about server side etc. Remember your doing both server side requests and client side requests from the same place so don't let the documentation confuse you.

 

hope this helps

 

It helps, so I can get to post using the token generating when connecting via sockets?

I can also do the post requests to the RESTful API?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...