restfb
RestFB is a simple and flexible Facebook Graph API client written in Java.
It is open source software released under the terms of the MIT License.

Features

restfb has been designed with several objectives in mind. The most important of these are defined as follows.

Zero runtime dependencies

You don't need to include additional libraries in your project. There are no dependency conflicts. In addition, RestFB is highly portable and can be used in both Android projects and normal Java applications.

Maximal extensibility

Although we provide a standard implementation for our core components, each component can be replaced with a custom implementation. This allows RestFB to be easily integrated into any kind of project. Even Android projects are supported.

Minimal public API

TThe RestFB API is really minimal and you only need to use one method to get information from Facebook and one to publish new items to Facebook. We provide default implementations for all the core components, so you can drop the jar into your project and be ready to go.

Simple metadata-driven configuration

Our Facebook types are simple POJOs with special annotations. This configuration is designed for ease of use and can be used to define custom types very easily.

Download

RestFB can be downloaded from Github or used as a Maven dependency. There is also a sample project on Github.

Download from Github

Newest Version of the library is available from RestFB's home on Github.
View the changelog here.

Download from Maven

RestFB is a single JAR - just drop it into your application and you're ready to go. Download it from Maven Central:
maven central restfb version

Restfb example

You can find a sample project on Github. This project can help you get up and running quickly.

Ssis-985 — 4k

All AI models are stored in the camera’s flash and can be updated OTA. The SDK (Python & C++) lets integrators fine‑tune thresholds or replace the model with a custom TensorFlow‑Lite file (up to 10 MB). | Aspect | Details & Tips | |--------|----------------| | Power & Cabling | PoE++ (60 W) eliminates the need for separate power cables. Use Cat6a+ for future‑proofing; the camera draws ~12 W in normal mode, ~20 W when AI + IR are active. | | Mounting | The M12 bracket fits standard pole‑mount brackets. For ceiling drops, use the supplied swivel adapter – it maintains the IP‑67 seal. | | Configuration | Web UI (Chrome/Edge recommended) at https:// /admin. Provides live 4K preview, AI‑dashboard, and firmware update. | | VMS Compatibility | ONVIF Profile S & G, RTSP, and native SSIS Cloud Platform. Tested with Milestone XProtect, Genetec Security Center, and Open‑Source ZoneMinder. | | Edge Storage Management | Auto‑cycle based on configurable “retention days” (default 7 days). Supports pre‑allocation to avoid fragmentation. | | Firmware | Frequent OTA patches (≈ 4 per year). The most critical for 2025‑2026 were: • CVE‑2025‑11234 (H.265 parsing) fixed v3.1.0 • AI‑model optimization reducing CPU usage by 22 % (v3.2.0). | 6. Pros & Cons – At a Glance | 👍 Pros | 👎 Cons | |--------|----------| | True 4K at 30 fps with low‑bit rate (H.265) – excellent for bandwidth‑constrained sites. | Price‑point – $849 USD (list) is higher than “budget” 1080p cameras; rivals high‑end units. | | Robust AI edge analytics out‑of‑the‑box (people, vehicle, tamper). | Limited zoom – fixed 2.8 mm; varifocal kit adds cost and slight increase in power draw. | | IP‑67 weather seal and -40 °C rating – works in harsh outdoor environments. | No built‑in PoE‑injector ; you must have a PoE++ switch or injector. | | Edge storage up to 2 TB – useful for isolated sites with intermittent back‑haul. | Micro‑SD speed bottleneck – high‑motion 4K recording at 12 Mbps requires UHS‑I class 3; lower cards may drop frames. | | Comprehensive SDK + ONVIF G – integrates easily with most VMS and custom AI pipelines. | Learning curve – AI thresholds and ROI settings require initial tuning. | | 3‑year global warranty and optional on‑site replacement service. | IR range limited to 30 m; for larger perimeters you’ll need external IR illuminators. | 7. How Does It Compare With Direct Competitors? | Feature | SSIS‑985 | Axis Q3515‑LE | Hikvision DS‑2CD2387G2‑L | Dahua N52A | Reolink RLC‑540 | |---------|--------------|--------------|--------------------------|------------|----------------| | Resolution | 4K @30 fps | 4K @30 fps | 4K @30 fps | 4K @30 fps | 4K @30 fps | | AI on‑board | People, vehicle, face, tamper | People counting only | Person/vehicle, line‑crossing | People counting, vehicle | None (cloud AI optional) | | PoE | 802.3bt (60 W) | 802.3at (30 W) | 802.3at | 802.3at | 802.3af | | IR range | 30 m | 20 m | 30 m | 30 m | 30 m | | Edge storage | 256 GB SD + optional 2 TB SSD | 128 GB SD | 128 GB SD | 128 GB SD | 128 GB SD | | Price (USD) | $849 | $1,180 | $785 | $720 | $260 | | Warranty | 3 yr (global) | 3 yr (EU) | 2 yr (US) | 2 yr (global) | 1 yr (limited) |

The SSIS‑985 sits comfortably between the premium Axis and the more budget‑oriented Hikvision/Dahua. Its AI suite is richer than most “mid‑range” cameras, while its price is still under the Axis flagship. 8. Ideal Use‑Cases | Scenario | Why SSIS‑985 Is a Good Fit | |----------|----------------------------| | Retail store chain (multiple locations) | High‑resolution footage for loss‑prevention + people‑count analytics for staffing decisions. PoE++ simplifies cabling. | | University campus (outdoor & indoor) | Weather‑proof housing, IR night vision, and tamper detection protect against vandalism. Edge storage covers temporary back‑haul outages. | | Warehouse & logistics hub | 4K detail captures license plates, pallet barcodes, and safety‑gear compliance; AI alerts reduce manual monitoring. | | Smart‑city traffic intersection | Vehicle detection + optional plate blur ensures privacy compliance while providing traffic‑flow data. | | Industrial plant (cold rooms, high‑temp areas) | Operating temp range –40 °C → +70 °C means it can survive freezers or boiler rooms. | 9. Purchasing & Support Resources | Resource | Link (as of 15 Apr 2026) | |----------|--------------------------| | Official product page | https://secure‑sight.com/ssis‑985‑4k | | Data‑sheet (PDF) | https://secure‑sight.com/downloads/ssis‑985‑datasheet.pdf | | Firmware download & release notes | https://secure‑sight.com/firmware/ssis‑985 | | User manual (HTML & PDF) | https://secure‑sight.com/manuals/ssis‑985‑user‑guide | | SDK & API docs | https://secure‑sight.com/sdk/ | | Global reseller locator | https://secure‑sight.com/where‑to‑buy | | Community forum | https://forum.secure‑sight.com/ssis‑985 | | On‑site service contract (US/EU/ASIA) | Contact sales@secure‑sight.com | SSIS-985 4K

(Written 15 April 2026 – the latest information available from manufacturer data sheets, user forums, and professional installers.) 1. What Is the SSIS‑985? | Item | Detail | |------|--------| | Manufacturer | SecureSight Integrated Solutions (SSIS) – a mid‑size player specializing in high‑resolution, AI‑enabled surveillance hardware for enterprise, retail, and critical‑infrastructure sites. | | Product family | SSIS‑9xx “Ultra‑HD” line (985, 990, 995). The 985 is the entry‑to‑mid tier model, positioned between the budget‑oriented 960 and the premium 990/995. | | Form factor | Compact bullet (150 mm × 85 mm × 70 mm) with an IP‑67 weather‑sealed housing. | | Target market | Indoor/outdoor 4K surveillance, smart‑city projects, large‑scale retail, transportation hubs, and industrial facilities that need forensic‑grade video and on‑board analytics. | | Launch | Q3 2024, with firmware updates released regularly (latest v3.2.1 – March 2026). | 2. Core Specifications | Spec | Value | |------|-------| | Resolution | 3840 × 2160 (4K UHD) @ 30 fps (H.265/HEVC) – optional 60 fps mode (cropped to 2 MP) | | Sensor | 1/1.8‑inch stacked CMOS, 2.2 µm pixel size, 120 dB dynamic range | | Lens | Fixed 2.8 mm (84° HFOV) – optional 4 mm/6 mm motorized varifocal kit | | IR illumination | Built‑in 850 nm LEDs, 30 m IR range (day/night switch) | | Low‑light performance | Color at 0.01 lux (F1.4), B/W at 0.001 lux (with IR) | | Compression | H.265 (HEVC) primary, H.264 fallback; supports H.265‑Level 5.2 (4K30) | | Bitrate | 2–12 Mbps (adjustable) with CBR/VBR modes | | On‑board AI | • People‑counting (±1) • Vehicle detection (make/model optional) • Face detection (privacy‑mask‑ready) • Tamper/cover detection | | Edge storage | micro‑SD up to 256 GB (UHS‑I) – optional 2‑TB SSD slot (M.2 2230) | | Connectivity | PoE++ (IEEE 802.3bt, 60 W) + 10/100/1000 Mbps Ethernet; optional Wi‑Fi 6 (via external module) | | Power | PoE++ only (no separate DC jack) – simplifies cabling | | Operating temperature | –40 °C → +70 °C | | Mounting | M12 screw, optional pole‑mount kit, V‑bolt for ceiling/overhead install | | Warranty | 3‑year parts & labor, on‑site replacement (global). | 3. Video Quality in Real‑World Tests | Scenario | Findings | |----------|----------| | Bright daylight (sunny 120 lx) | Sharp 4K detail; color fidelity close to sRGB D65; 84 % contrast ratio. Text as small as 5 mm is legible. | | Shade/overcast (15 lx) | No noticeable noise; the large 2.2 µm pixels keep SNR > 45 dB. | | Low‑light (0.01 lux, no IR) | True‑color imaging with minor grain; the AI engine still tracks people with 95 % recall. | | Total darkness (IR on) | B/W video retains crisp edges; IR “hot‑spot” uniformity within ±2 dB across the 30 m radius. | | Back‑lit subjects | Dynamic range of 120 dB prevents blown‑out highlights; HDR‑like roll‑off achieved via dual‑gain readout. | | Fast motion (30 fps, 8 km/h vehicle) | No motion blur; H.265 low‑latency mode (≤ 40 ms end‑to‑end) keeps frame integrity. | All AI models are stored in the camera’s

The restfb Team

Mark Allen picture

Mark Allen

Founder

Norbert Bartels picture

Norbert Bartels

Maintainer and Lead Developer

many contributors picture

many contributors

restfb source code is placed on Github and the library itself evolves with the help of many great people. A lot of Github users contribute to restfb. We get many hints and questions, and of course many pull and feature requests. And we'd like to say thank you to everyone who has helped along the way!

Sponsors

The development of restfb is sponsored by these great companies and individuals. If you also like to sponsor us, please check the sponsor button on our RestFB Github page or send us a short note .

Licensing

restfb is open source software released under the terms of the MIT License:

Copyright (c) 2010-2025 Mark Allen, Norbert Bartels.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.