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.

How To Hard Reset Lexmark Mb2236adw -

In the modern office ecosystem, the multifunction printer (MFP) is both a lifeline and a frequent source of frustration. Among these workhorses, the Lexmark MB2236adw is renowned for its reliability in monochrome printing, scanning, and copying. However, like any sophisticated computing device, it can fall prey to persistent error messages, network configuration conflicts, or internal memory glitches that a simple power cycle cannot resolve. In such scenarios, the "hard reset"—or more accurately, the "Wipe All Settings" procedure—becomes the ultimate diagnostic and remedial tool. Performing a hard reset on the Lexmark MB2236adw is not merely a matter of unplugging the device; it is a deliberate, irreversible process of returning the machine to its factory state, erasing user data, custom network configurations, and security settings to solve deep-seated software anomalies.

Before proceeding, it is crucial to understand what a hard reset entails for this specific model. Unlike a soft reset (turning the printer off and on) or a network reset (clearing only TCP/IP settings), a full hard reset—officially termed "Wipe All Settings" in Lexmark’s firmware—restores the printer to the exact condition it was in when it left the factory. This means all administrator passwords, static IP addresses, email server configurations, stored fax numbers, and security certificates are permanently deleted. Therefore, this procedure should be considered a last resort, employed only when the device displays unrecoverable errors, such as a persistent "Service Error" code, a forgotten administrator password, or severe network communication failures that standard troubleshooting cannot fix. How to Hard Reset LEXMARK MB2236adw

The process for executing a hard reset on the MB2236adw is conducted entirely through its built-in, two-line monochrome LCD control panel, as this model lacks a full touchscreen. First, ensure the printer is in a "Ready" state, indicated by a solid green LED. If the printer is showing an error, clear any paper jams or replace depleted cartridges before attempting the reset. Using the physical keypad, navigate by pressing the "Menu" button. Use the arrow keys to scroll to the menu, then press "Select." From here, navigate deeper: scroll to "Device" , then to "Maintenance" , and finally to "Out of Service Erase" or, on some firmware versions, directly to "Wipe All Settings." It is critical to note that not all Lexmark models label this identically; the MB2236adw typically uses "Wipe All Settings" for a non-destructive logical reset, while "Out of Service Erase" is more intensive. For most hard reset needs, "Wipe All Settings" is the correct choice, as it clears user data without requiring hard drive overwriting (this model does not have a hard drive, only flash memory). In the modern office ecosystem, the multifunction printer

In conclusion, performing a hard reset on the Lexmark MB2236adw is a straightforward yet consequential procedure. By navigating the simple menu system from Settings to Device to Maintenance to Wipe All Settings, any user can purge the printer’s memory of corrupted configurations and forgotten passwords. Yet, with this power comes responsibility: the reset is final, and all customizations will vanish. When used judiciously, however, this technique transforms a malfunctioning, unresponsive printer back into a reliable office ally. It serves as a reminder that in the world of networked devices, sometimes the most powerful fix is not to repair, but to return to zero—to let the machine rise again from its own ashes, clean and unburdened by the ghosts of errors past. In such scenarios, the "hard reset"—or more accurately,

However, a word of caution is warranted. A hard reset is not a universal panacea. Physical problems—such as a failing fuser, a broken paper pickup roller, or a damaged laser scanner unit—will not be fixed by erasing settings. Moreover, in a managed corporate environment, performing a hard reset will deregister the printer from any Lexmark Management Console or Active Directory, potentially requiring an administrator to reapply security policies. Therefore, before executing this digital phoenix act, one should exhaust all lesser measures: power cycling, verifying network cables, updating firmware via a USB drive, and performing a simple "Network Reset" (found under Settings > Network/Ports > Network Overview > Reset Network). Only when those fail does the hard reset become justified.

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.