Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dtinth/fbm
Send Facebook Messages from Command Line
https://github.com/dtinth/fbm
facebook-graph-api ruby xmpp
Last synced: 5 days ago
JSON representation
Send Facebook Messages from Command Line
- Host: GitHub
- URL: https://github.com/dtinth/fbm
- Owner: dtinth
- Created: 2013-03-11T06:13:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-11T11:35:17.000Z (over 11 years ago)
- Last Synced: 2024-10-08T18:41:49.288Z (26 days ago)
- Topics: facebook-graph-api, ruby, xmpp
- Language: Ruby
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
fbm
===Send Facebook Messages from your terminal.
Installation
------------gem install fbm
Usage
-----fbm login
It will give you a link, login and copy the success URL back to the application.
fbm ls Thai
It will list all friends that contains "Thai" in their name.
echo some text | fbm send Thai
It will send "some text" to Thai. If it matches multiple Thais, nothing will be sent, you must type the full name so that
it matches one name.More Example
------------Sending a code snippet to Gist using [Jist](https://github.com/ConradIrwin/jist) and send via Facebook.
jist filename.c | fbm send Recipient
Sometimes it can be a good idea to save the message that you send.
jist filename.c | tee ~/.fbm_prev | fbm send Recipient
Contribute
----------
This is my first Gem, and I'm very new to this. However, this app does just what I want now.Contributions welcome. If you want you can make this app more structured, or make it print to stderr instead of stdout, or add unit tests.