answersLogoWhite

0

How do you use Facebook From The Command Line With fbcmd in Linux?

Updated: 8/20/2019
User Avatar

PayamNab

Lvl 1
11y ago

Best Answer

fbcmd is a cross-platform tool that lets you use Facebook from the command line. It supports posting a status, uploading photos, creating albums, listing profile information for friends, display events or your stream, share links and lots more.

Install fbcmd in Ubuntu:

sudo apt-get install php5-cli php5-curl

cd && wget link_to_fbcmd_update.php(attached in related links)

php fbcmd_update.php

sudo php fbcmd_update.php

sudo php fbcmd_update.php install

And that should complete the installation.

To be able to use fbcmd, you need to give it access to your Facebook account:

- For basic access, run the following command - it should open a new tab in your default web browser, asking you to allow fbcmd to access Facebook:

fbcmd go access

- The second step is to authorize fbcmd to use Facebook in offline mode:

fbcmd go authThis once again opens a new tab in your default browser, which should display a code. Copy that code and run the following command:

fbcmd auth CODE - Replacing "CODE" with the code you've copied from Facebook.

- And finally, to give fbcmd additional permissions, use the following command:

fbcmd addperm

Now everything should be ready. to see all the available fbcmd options, type the following command in a terminal:

fbcmd

Here are a few fbcmd examples:

- update your status:

fbcmd status "insert the status here"

- upload a picture to an existing album called "myalbum":

fbcmd addpic myfile.jpg myalbum "photo description"

- display your Facebook stream:

fbcmd stream

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you use Facebook From The Command Line With fbcmd in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What command line to heart beat stop and start in Linux system?

To stop heartbeat in Linux the command line will be service Heartbeat stop To start heartbeat in Linux the command line will be service Heartbeat start


How do you find IP addresses in Linux via command line?

ifconfig


How do you start the display program in Linux from the command line?

the command "display" brings up the ImageMagick program.


Is unix and Linux are both command line and gui based os?

Yes


What are the similarities and differences between the way in which Windows and Linux manage processes?

Linux allows full access to the source code. Windows does not. The command line has always proven useful when altering software. Windows differs from Linux in command line limitations as well. Linux provides a centralized location in which software and application can be controlled.


Are Linux commands entered via the command line case sensitive?

Yes. Just about everything to do with Linux on the command line is case sensitive, including commands and file names.


How do you use the top command in Linux?

Just type "top" into the command line. It requires no arguments. To exit, press 'q'.


How do you open targz files?

In linux command line : tar -zxvf /path_to_your_file/filename.tar.gz


Does Linux have a command line?

yes. Xterm, gnome-terminal are common ways of accessing it.


What command starts the command line in Linux?

That would be a semi-contradiction; the command line would need to be already running in order to enter a command. The name of the program that actually provides the command line is called a shell. There are many different shells available for Linux, including Bash, ash, C Shell, fish, ksh, zsh, and scsh.The default command shell is /bin/sh (not /bin/bash, note).


How many different commands are there for Linux?

Innumerable. Remember that any program on Linux can be launched from the command line, so there are as many commands as there are programs.


How is the command line access in Linux?

By invoking a terminal emulator or switching to one of the virtual terminals.