Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

News 

HF API Beta Released

(Apr 21, 2017 09:57 PM)Truth Wrote:  can we access if a member is online or not?

Great update omni, R3kt are so lucky lol

What exactly is the point of that? You can do so by looking at the last online time available through the user profile method, and checking if it was within the last 5 minutes if you want to
Quote:@Omni, will rep be accessible via the API?

Probably. Eventually I hope all of HF's main basic functions to be API available so that complete mobile apps can be created.

Quote:can we access if a member is online or not?

It's not something that would added to current API calls. It's just not vital information required for a mobile app to work effectively. But maybe I just need to think on it more.

Quote:No difference, you'd still need multiple accounts to abuse the feature.
No different than signing into them and doing it manually.

Agreed.

Quote:Only abuse I could see would either be scraping info

Harder to do when you can restrict the number of API calls.

And anything can be abused but that doesn't alter the fact we really need this API.

Trust Scan output will be part of the next update (next week) and keep in mind that we plan on a full permission system for the keys as well as IP locking. Even multiple keys per account will likely happen. So you could potentially give your mobile app a key as well something else. I imagine that having your API Key IP locked would make for a good entry into the Trust Scan.
This is incredible, looks like everything is really coming together! I cannot wait to be able to use it.
Omniscient Wrote:Trust Scan output will be part of the next update (next week) and keep in mind that we plan on a full permission system for the keys as well as IP locking. Even multiple keys per account will likely happen. So you could potentially give your mobile app a key as well something else. I imagine that having your API Key IP locked would make for a good entry into the Trust Scan.

Would it be possible to add an IP range for those with dynamic IP's? It would be nice to just add my ISP's ranges and block others.

(Apr 21, 2017 10:19 PM)xadamxk Wrote:  For the last 2 weeks I've been looking into a system for push notifications and quick replies like that. Since we only have read access, I can only get as far as sending a Notificafion with the PM title and who it's from. And when you open the notification, it opens a link in chrome.

Until we get write access, that's the best that'll happen.

Sounds like a great start nonetheless. Let me know how that works man. I'm definitely interested.
I cannot wait to use this.

So many useful things I can achieve.

You did a good job Mesh !
[Image: boostdroid-signature.gif]
(Apr 21, 2017 10:37 PM)xadamxk Wrote:  Damn, you've put a lot of thought into this.
I like it. I'm right there with you though, I think the HF API is the next big jump for HF.

Would you consider implementing application Keys as well?
That way if a certain application was deemed harmful, rather than put out a warning and hope people don't use it, you simply kill that app ID?

Wouldn't you need to completely change the way the API works though? Or no? I'm not very good at these things so most of these questions are for me to learn from.
(Apr 21, 2017 09:07 PM)xadamxk Wrote:  Me too. And a lot of money.
I may try it for a summer project.
But I'm not a pro at app development.

@Omni, if I changed my userscripts to work through the API rather than grabbing data, would you feel better about them? Or still no?

I assume you're using swift? I still have my old OP3 so I was using java, but I kept getting weird errors.. i'm probs gonna try some shit for iPhones tonight.

(Apr 21, 2017 10:17 PM)SIM-2015410 Wrote:  What exactly is the point of that? You can do so by looking at the last online time available through the user profile method, and checking if it was within the last 5 minutes if you want to

kind of pointless, but you could create an hf messenger. see who's online and whatnot. i feel like you'd have to be really busy or important to have a consistent use for that lol
[Image: qBKIQZ7.png]
That's fucking sick mate, I hope you can sit down and have a nice cigar and a bottle of scotch/whiskey and be proud of the work you lot have done.

Well done to Mesh and xadamxk as well as yourself Omni. Huge thumbs up.

One thing I would like to ask is if we can have an example api key, one that doesn't work to get an idea of the length+numerations used. I trust you would have all made it secure, just curious at this point in time.
(Apr 21, 2017 11:01 PM)Mr. Robot Wrote:  That's fucking sick mate, I hope you can sit down and have a nice cigar and a bottle of scotch/whiskey and be proud of the work you lot have done.

Well done to Mesh and xadamxk as well as yourself Omni. Huge thumbs up.

One thing I would like to ask is if we can have an example api key, one that doesn't work to get an idea of the length+numerations used. I trust you would have all made it secure, just curious at this point in time.

You have access to it man. You should be in r3kt.

https://hackforums.net/apikey.php

https://hackforums.net/apicall.php

(Apr 21, 2017 11:03 PM)Leroy Jethro Gibbs Wrote:  You have access to it man. You should be in r3kt.

https://hackforums.net/apikey.php

https://hackforums.net/apicall.php

Wait, why don't you have r3kt?

EDIT: Nevermind. Seen you didn't have the 1000 day requirement.
(Apr 21, 2017 11:03 PM)Leroy Jethro Gibbs Wrote:  EDIT: Nevermind. Seen you didn't have the 1000 day requirement.

Lol yup haha 1000 days feelsbadman.
(Apr 21, 2017 11:06 PM)Mr. Robot Wrote:  Lol yup haha 1000 days feelsbadman.

Dang man lol. I wish I was at 1000 rep just so I could give you an idea. Hopefully one of these other lovely r3kt members would be so kind to help out lol. I so thought you had an older account too lol.
I'm looking forward to using the API one of these days. 😏 Do you have an ETA on about how long the beta will last?
[Image: M6MscUn.gif]
Oh, this is a very neat feature! I'm looking forward to it being released to more than just r3kt. I see a lot of potential in this.
The Angry Mustard and Happy Ketchup
772E 3E5B 6183 0718
(Apr 21, 2017 11:07 PM)Leroy Jethro Gibbs Wrote:  Dang man lol. I wish I was at 1000 rep just so I could give you an idea. Hopefully one of these other lovely r3kt members would be so kind to help out lol. I so thought you had an older account too lol.

Yeah i'm just curious as to if it will be similar to your post key example

Code
    var my_post_key = "5ld3l3e5t0f3e6af16da12vb9632a029d";

Or say your logout key
Code
https://hackforums.net/member.php?action=logout&logoutkey=e360baab42a1ecfdab97f9ffd775bd2e
(Apr 21, 2017 11:10 PM)Mr. Robot Wrote:  Yeah i'm just curious as to if it will be similar to your post key example

Code
    var my_post_key = "5ld3l3e5t0f3e6af16da12vb9632a029d";

Or say your logout key
Code
https://hackforums.net/member.php?action=logout&logoutkey=e360baab42a1ecfdab97f9ffd775bd2e

Here are some examples of what keys look like:
1fNUaGmHVLHlfSg
gnYNB6HiPOvqxgj
8S7PncqAQpvu6sy
Nothing special, just a 15 character alphanumeric, case sensitive string.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Official] by XeroticNov 3, 2025 08:58 PM 31 3,332 Nov 3, 2025 08:58 PM
Last Post: xadamxk
by OmniscientDec 3, 2018 07:03 PM 92 6,797 Dec 3, 2018 07:03 PM
Last Post: SIM-964740