Giter Site home page Giter Site logo

dequis / purple-facebook Goto Github PK

View Code? Open in Web Editor NEW
954.0 86.0 86.0 661 KB

Facebook protocol plugin for libpurple (moved from jgeboski/purple-facebook)

License: GNU General Public License v2.0

Shell 27.31% C 49.76% Makefile 1.89% M4 21.05%
libpurple facebook pidgin purple chat

purple-facebook's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

purple-facebook's Issues

Certain characters not sending correctly.

I really appreciate how quickly this fix came out, but I'm having some issues.

When I type certain characters like " or > or < into the chat, they appear on Facebook as " and > and < respectively. Not sure which characters cause this, but these are the ones I've encountered so far.

I'm using Windows 8.1 64 and Pidgin 2.10.11

Protocol not showing in Add Account dropdown

DLLs have been added to plugins directory, but the new Facebook protocol is not showing after restarting Pidgin and I'm unable to add a new account. Using release "purple-facebook-4098e875ebcb".

/cygdrive/c/Program Files (x86)/Pidgin/plugins » ls -la
total 5.5M
drwxrwx---+ 1 Administrators Domain Users 0 Jul 13 11:43 ./
drwxrwx---+ 1 Administrators Domain Users 0 Apr 21 11:55 ../
-rwxrwx---+ 1 Administrators Domain Users 21K Nov 23 2014 .dll*
-rwxrwx---+ 1 Administrators Domain Users 21K Nov 23 2014 autoaccept.dll*
-rwxrwx---+ 1 Administrators Domain Users 13K Nov 23 2014 buddynote.dll*
-rwxrwx---+ 1 Administrators Domain Users 25K Nov 23 2014 convcolors.dll*
-rwxrwx---+ 1 Administrators Domain Users 425K Nov 8 2010 encrypt.dll*
-rwxrwx---+ 1 Administrators Domain Users 16K Nov 23 2014 extplacement.dll*
-rwxrwx---+ 1 Administrators Domain Users 14K Nov 23 2014 gtkbuddynote.dll*
-rwxrwx---+ 1 Administrators Domain Users 19K Nov 23 2014 history.dll*
-rwxrwx---+ 1 Administrators Domain Users 13K Nov 23 2014 iconaway.dll*
-rwxrwx---+ 1 Administrators Domain Users 19K Nov 23 2014 idle.dll*
-rwxrwx---+ 1 Administrators Domain Users 19K Nov 23 2014 joinpart.dll*
-rwxrwx---+ 1 Administrators Domain Users 15K Nov 23 2014 libaim.dll*
-rwxrwx---+ 1 Administrators Domain Users 91K Nov 23 2014 libbonjour.dll*
-rwxrwx---+ 1 Administrators Domain Users 712K Jul 13 11:42 libfacebook.dll*
-rwxrwx---+ 1 Administrators Domain Users 321K Nov 23 2014 libgg.dll*
-rwxrwx---+ 1 Administrators Domain Users 16K Nov 23 2014 libicq.dll*
-rwxrwx---+ 1 Administrators Domain Users 105K Nov 23 2014 libirc.dll*
-rwxrwx---+ 1 Administrators Domain Users 561K Jul 13 11:42 libjson-glib-1.0.dll*
-rwxrwx---+ 1 Administrators Domain Users 366K Nov 23 2014 libmsn.dll*
-rwxrwx---+ 1 Administrators Domain Users 148K Nov 23 2014 libmxit.dll*
-rwxrwx---+ 1 Administrators Domain Users 105K Nov 23 2014 libmyspace.dll*
-rwxrwx---+ 1 Administrators Domain Users 121K Nov 23 2014 libnovell.dll*
-rwxrwx---+ 1 Administrators Domain Users 114K Nov 23 2014 libsametime.dll*
-rwxrwx---+ 1 Administrators Domain Users 168K Nov 23 2014 libsilc.dll*
-rwxrwx---+ 1 Administrators Domain Users 55K Nov 23 2014 libsimple.dll*
-rwxrwx---+ 1 Administrators Domain Users 456K Apr 4 10:43 libsipe.dll*
-rwxrwx---+ 1 Administrators Domain Users 21K Nov 23 2014 libxmpp.dll*
-rwxrwx---+ 1 Administrators Domain Users 23K Nov 23 2014 libyahoo.dll*
-rwxrwx---+ 1 Administrators Domain Users 20K Nov 23 2014 libyahoojp.dll*
-rwxrwx---+ 1 Administrators Domain Users 47K Nov 23 2014 log_reader.dll*
-rwxrwx---+ 1 Administrators Domain Users 22K Nov 23 2014 markerline.dll*
-rwxrwx---+ 1 Administrators Domain Users 14K Nov 23 2014 newline.dll*
-rwxrwx---+ 1 Administrators Domain Users 29K Nov 23 2014 notify.dll*
-rwxrwx---+ 1 Administrators Domain Users 17K Nov 23 2014 offlinemsg.dll*
drwxrwx---+ 1 Administrators Domain Users 0 Dec 2 2014 perl/
-rwxrwx---+ 1 Administrators Domain Users 51K Nov 23 2014 perl.dll*
-rwxrwx---+ 1 Administrators Domain Users 733K Oct 21 2014 pidgin-otr.dll*
-rwxrwx---+ 1 Administrators Domain Users 29K Nov 23 2014 pidginrc.dll*
-rwxrwx---+ 1 Administrators Domain Users 16K Nov 23 2014 psychic.dll*
-rwxrwx---+ 1 Administrators Domain Users 16K Nov 23 2014 relnot.dll*
-rwxrwx---+ 1 Administrators Domain Users 15K Nov 23 2014 sendbutton.dll*
-rwxrwx---+ 1 Administrators Domain Users 68K Nov 23 2014 spellchk.dll*
-rwxrwx---+ 1 Administrators Domain Users 12K Nov 23 2014 ssl.dll*
-rwxrwx---+ 1 Administrators Domain Users 32K Nov 23 2014 ssl-nss.dll*
-rwxrwx---+ 1 Administrators Domain Users 16K Nov 23 2014 statenotify.dll*
-rwxrwx---+ 1 Administrators Domain Users 72K Nov 23 2014 tcl.dll*
-rwxrwx---+ 1 Administrators Domain Users 30K Nov 23 2014 themeedit.dll*
-rwxrwx---+ 1 Administrators Domain Users 32K Nov 23 2014 ticker.dll*
-rwxrwx---+ 1 Administrators Domain Users 18K Nov 23 2014 timestamp.dll*
-rwxrwx---+ 1 Administrators Domain Users 24K Nov 23 2014 timestamp_format.dll*
-rwxrwx---+ 1 Administrators Domain Users 30K Nov 23 2014 win2ktrans.dll*
-rwxrwx---+ 1 Administrators Domain Users 31K Nov 23 2014 winprefs.dll*
-rwxrwx---+ 1 Administrators Domain Users 37K Nov 23 2014 xmppconsole.dll*
-rwxrwx---+ 1 Administrators Domain Users 44K Nov 23 2014 xmppdisco.dll*

Sending messages when offline

[It's quite possible I misunderstand something about Pidgin or about the plugin, in which case apologies (and thanks very much for this plugin, which I found just after Facebook turned off my XMPP access).]

When a friend is offline, my messages are saved as pounces. But this is not necessary for the Facebook protocol: they can and should be sent immediately.

(I am using the Offline Message Emulation plugin, so one other possibility is that this is interacting in a bad way with a protocol that doesn't need it?)

Releases debian packages

Hello,

Please consider create a deb package as release. I believe that this may be helpful for ordinary Ubuntu users who will lose access to chat Faceboook.

You can do it easily by checkinstall.

Here is package: http://files.jawne.info.pl/public_html/2015/07/12_00:52:07
Here is log of that:

$ sudo checkinstall 

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.



*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values: 

0 -  Maintainer: [ root@adas-AMILO-Pro-V3205 ]
1 -  Summary: [ Purple Facebook implements the Facebook Messenger protocol into pidgin, finch, and libpurple. While the primary implementation is for purple3, this plugin is back-ported for purple2. ]
2 -  Name:    [ purple-facebook ]
3 -  Version: [ a34b993324e4 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ purple-facebook-a34b993324e4 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ purple-facebook ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue: 3
Enter new version: 
>> 0.0.1

This package will be built according to these values: 

0 -  Maintainer: [ root@adas-AMILO-Pro-V3205 ]
1 -  Summary: [ Purple Facebook implements the Facebook Messenger protocol into pidgin, finch, and libpurple. While the primary implementation is for purple3, this plugin is back-ported for purple2. ]
2 -  Name:    [ purple-facebook ]
3 -  Version: [ 0.0.1 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ purple-facebook-a34b993324e4 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ purple-facebook ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

========================= Installation results ===========================
Making install in pidgin/libpurple/protocols/facebook
make[1]: Wejście do katalogu `/tmp/libpurple/purple-facebook-a34b993324e4/pidgin/libpurple/protocols/facebook'
make[2]: Wejście do katalogu `/tmp/libpurple/purple-facebook-a34b993324e4/pidgin/libpurple/protocols/facebook'
make[2]: Nie ma nic do zrobienia w `install-exec-am'.
 /bin/mkdir -p '/usr/lib/purple-2'
 /bin/bash ../../../../libtool   --mode=install /usr/bin/install -c   libfacebook.la '/usr/lib/purple-2'
libtool: install: /usr/bin/install -c .libs/libfacebook.so /usr/lib/purple-2/libfacebook.so
libtool: install: /usr/bin/install -c .libs/libfacebook.lai /usr/lib/purple-2/libfacebook.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/lib/purple-2
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/purple-2

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Opuszczenie katalogu `/tmp/libpurple/purple-facebook-a34b993324e4/pidgin/libpurple/protocols/facebook'
make[1]: Opuszczenie katalogu `/tmp/libpurple/purple-facebook-a34b993324e4/pidgin/libpurple/protocols/facebook'
make[1]: Wejście do katalogu `/tmp/libpurple/purple-facebook-a34b993324e4'
make[2]: Wejście do katalogu `/tmp/libpurple/purple-facebook-a34b993324e4'
make[2]: Nie ma nic do zrobienia w `install-exec-am'.
make[2]: Nie ma nic do zrobienia w `install-data-am'.
make[2]: Opuszczenie katalogu `/tmp/libpurple/purple-facebook-a34b993324e4'
make[1]: Opuszczenie katalogu `/tmp/libpurple/purple-facebook-a34b993324e4'

======================== Installation successful ==========================

Copying documentation directory...
./
./INSTALL
./VERSION
./NEWS
./ChangeLog
./AUTHORS
./README
./COPYING

Copying files to the temporary directory...OK

Stripping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK

Building Debian package...OK

Installing Debian package...OK

Erasing temporary files...OK

Writing backup package...OK
OK

Deleting temp dir...OK


**********************************************************************

 Done. The new package has been installed and saved to

 /tmp/libpurple/purple-facebook-a34b993324e4/purple-facebook_0.0.1-1_i386.deb

 You can remove it from your system anytime using: 

      dpkg -r purple-facebook

**********************************************************************
``

No matches for $.represented_profile.id

I tried setting up an account. I used my email address as my username. I also tried using my facebook username in the username. I get this error:

No matches for $.represented_profile.id

What have I done wrong?

offline messages are not retrieved

Purple-facebook does not seem to retrieve offline messages that arived between disconnects.

scrinario:
user A send message to user B
user A disconnects
user B send reply
user A reconnects

user A does not see message sent by user B

hg - 305f27dd23c0
git - cfbfc9c

Invalid username or password?

I'm probably missing something obvious but there's no combination of setting that lets me actually log in. I have tried my E-mail and username for the login and I have tried both my normal password and made an app password.

  • Do I need to give the app password a specific name for it to work?
  • Do I even need to use an app password at all?
  • Is the username or E-mail more reliable? Does it make a difference at all?

It simply says "[account name] disabled Incorrect username or password."

Update: It seems I (somehow?) had three facebook Plugins. One was Facebook (XMPP) and I had two identified only as "facebook". Apparently I've been trying the wrong one this entire time. Please close this.

Compilation fails on Scientific Linux 7.1

I've installed the required prerequisites, but the autogen script fails with the following output.

$ ./autogen.sh
pulling from https://hg.pidgin.im/soc/2015/jgeboski/facebook
searching for changes
no changes found
resolving manifests
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
patching file libpurple/protocols/facebook/Makefile.am
patching file libpurple/protocols/facebook/Makefile.mingw
patching file libpurple/protocols/facebook/facebook.c
patching file libpurple/protocols/facebook/facebook.h
patching file libpurple/http.c
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -Im4
configure.ac:88: error: AC_REQUIRE(PKG_PROG_PKG_CONFIG): cannot be used outside of an AC_DEFUN'd macro
configure.ac:88: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Hi I have a little error on compiling

~/purple-facebook$ ./autogen.sh
requesting all changes
adding changesets
adding manifests
adding file changes
added 37214 changesets with 119483 changes to 11388 files (+5 heads)
updating to branch default
2268 files updated, 0 files merged, 0 files removed, 0 files unresolved
pulling from https://hg.pidgin.im/soc/2015/jgeboski/facebook
searching for changes
aucun changement trouvé
resolving manifests
suppression de libpurple/protocols/jabber/facebook.c
suppression de libpurple/protocols/jabber/facebook.h
suppression de libpurple/protocols/jabber/facebook_roster.c
suppression de libpurple/protocols/jabber/facebook_roster.h
getting .hgignore
getting COPYRIGHT
getting configure.ac
getting libpurple/protocols/Makefile.am
getting libpurple/protocols/Makefile.mingw
getting libpurple/protocols/facebook/Makefile.am
getting libpurple/protocols/facebook/Makefile.mingw
getting libpurple/protocols/facebook/api.c
getting libpurple/protocols/facebook/api.h
getting libpurple/protocols/facebook/data.c
getting libpurple/protocols/facebook/data.h
getting libpurple/protocols/facebook/facebook.c
getting libpurple/protocols/facebook/facebook.h
getting libpurple/protocols/facebook/glibcompat.h
getting libpurple/protocols/facebook/http.c
getting libpurple/protocols/facebook/http.h
getting libpurple/protocols/facebook/id.h
getting libpurple/protocols/facebook/json.c
getting libpurple/protocols/facebook/json.h
getting libpurple/protocols/facebook/marshaller.list
getting libpurple/protocols/facebook/mqtt.c
getting libpurple/protocols/facebook/mqtt.h
getting libpurple/protocols/facebook/thrift.c
getting libpurple/protocols/facebook/thrift.h
getting libpurple/protocols/facebook/util.c
getting libpurple/protocols/facebook/util.h
getting libpurple/protocols/jabber/Makefile.am
getting libpurple/protocols/jabber/Makefile.mingw
getting libpurple/protocols/jabber/jabber.c
getting libpurple/protocols/jabber/jabber.h
getting libpurple/protocols/jabber/roster.c
getting pidgin/plugins/xmppconsole.c
getting po/POTFILES.in
getting po/af.po
getting po/am.po
getting po/ar.po
getting po/as.po
getting po/ast.po
getting po/az.po
getting po/[email protected]
getting po/bg.po
getting po/bn.po
getting po/bn_IN.po
getting po/br.po
getting po/brx.po
getting po/bs.po
getting po/ca.po
getting po/[email protected]
getting po/cs.po
getting po/da.po
getting po/dz.po
getting po/el.po
getting po/en_AU.po
getting po/en_CA.po
getting po/en_GB.po
getting po/eo.po
getting po/es.po
getting po/es_AR.po
getting po/et.po
getting po/eu.po
getting po/fa.po
getting po/fi.po
getting po/fr.po
getting po/ga.po
getting po/gl.po
getting po/gu.po
getting po/he.po
getting po/hi.po
getting po/hr.po
getting po/hu.po
getting po/hy.po
getting po/id.po
getting po/it.po
getting po/ja.po
getting po/ka.po
getting po/kk.po
getting po/km.po
getting po/kn.po
getting po/ko.po
getting po/ks.po
getting po/ku.po
getting po/ku_IQ.po
getting po/lt.po
getting po/lv.po
getting po/mai.po
getting po/mhr.po
getting po/mk.po
getting po/ml.po
getting po/mn.po
getting po/mr.po
getting po/ms_MY.po
getting po/my_MM.po
getting po/nb.po
getting po/ne.po
getting po/nl.po
getting po/nn.po
getting po/oc.po
getting po/or.po
getting po/pa.po
getting po/pl.po
getting po/ps.po
getting po/pt.po
getting po/pt_BR.po
getting po/ro.po
getting po/ru.po
getting po/sd.po
getting po/si.po
getting po/sk.po
getting po/sl.po
getting po/sq.po
getting po/sr.po
getting po/[email protected]
getting po/sv.po
getting po/sw.po
getting po/ta.po
getting po/te.po
getting po/th.po
getting po/tr.po
getting po/tt.po
getting po/uk.po
getting po/ur.po
getting po/uz.po
getting po/vi.po
getting po/xh.po
getting po/zh_CN.po
getting po/zh_HK.po
getting po/zh_TW.po
127 files updated, 0 files merged, 4 files removed, 0 files unresolved
patching file libpurple/protocols/facebook/Makefile.am
patching file libpurple/protocols/facebook/Makefile.mingw
patching file libpurple/protocols/facebook/facebook.c
patching file libpurple/protocols/facebook/facebook.h
patching file libpurple/http.c
./autogen.sh: 12: ./autogen.sh: autoreconf: not found

Hi, this is my error with autoreconf: not found
But I do not know how to resolve that... :-(

A little help ? :-)

Formated URL

Hello when facebook format an url adding a thumbnail to it, no message is received on Pidgin.

Exemple
capture du 2015-07-15 02 25 21

Add facebook contacts to a new group by default

When you add the new facebook account to pidgin it automatically added all my facebook friends to a group called "buddies", instead of its own group called "facebook friends". Please change the default behaviour.

There is no mention in the relevant readme.md required for packages

It is advisable to indicate the need to install the system packages.
Or display more informative labels on the right if there is no error packages.

sudo apt-get install mercurial meld
sudo apt-get install libglib2.0-dev
sudo apt-get install libjson-glib-dev
sudo apt-get install pidgin-dev

Ignoring Server Side Groups

Just installed the Plugin, all looks good so far.

Would it be possible to add an option to ignore the "Buddies" group and instead use my client-side groups? I like to use Pidgin as an integrated messenger so would like all accounts to appear under a single contact, e.g. if the user has Google, ICQ and Facebook accounts I would like to have it all appear under the same contact.

Before Facebook decided to drop XMPP I had it kind of working (not always reliable admittedly!) under XMPP using the xmpp-ignore-groups plugin.

Another HTTP Error, Timing Out

Pidgin complains "unknown http error"

Debug log says its a timeout.

11:10:04) account: Connecting to account tyeo098.
(11:10:04) connection: Connecting. gc = 0xb9cc9f88
(11:10:04) http: Performing new request 0xba027b00 for https://b-api.facebook.com/method/auth.login.
(11:10:04) http: Connecting to https://b-api.facebook.com/method/auth.login...
(11:10:04) facebook: HTTP Request (0xba027b00):
(11:10:04) facebook: Request URL: https://b-api.facebook.com/method/auth.login
(11:10:04) facebook: Request Data: fb_api_req_friendly_name=authenticate&fb_api_caller_class=com.facebook.auth.protocol.d&email=tyeo098&password=(Plaintext passwords, really?)&locale=en_US&format=json&device_id=(redacted)&api_key=256002347743983&sig=(redacted)&method=auth.login
(11:10:04) dnsquery: Performing DNS lookup for b-api.facebook.com
(11:10:04) http: new socket created: 0xb9d18a10
(11:10:04) http: locking a (new) socket: 0xb9d18a10
(11:10:04) dns: DNS child 1843 no longer exists
(11:10:04) dns: Created new DNS child 1864, there are now 1 children.
(11:10:04) dns: Successfully sent DNS request to child 1864
(11:10:05) dns: Got response for 'b-api.facebook.com'
(11:10:05) dnsquery: IP resolved for b-api.facebook.com
(11:10:05) proxy: Attempting connection to 2a03:2880:f000:6:face:b00c:0:1
(11:10:05) proxy: Connecting to b-api.facebook.com:443 with no proxy
(11:10:05) proxy: Connection in progress
(11:10:10) util: Writing file accounts.xml to directory /home/tyler/.purple
(11:10:10) util: Writing file /home/tyler/.purple/accounts.xml
dns[1864]: nobody needs me... =(
(11:10:35) http: Timeout reached for request 0xba027b00
(11:10:35) http: Cancelling connection 0xba027b00...
(11:10:35) http: destroying socket: 0xb9d18a10
(11:10:35) http: Request 0xba027b00 performed without success.
(11:10:35) facebook: HTTP Response (0xba027b00):
(11:10:35) facebook: Response Data:
(11:10:35) connection: Connection error on 0xb9cc9f88 (reason: 16 description: Unknown HTTP error)
(11:10:35) account: Disconnecting account tyeo098 (0xb9562528)
(11:10:35) connection: Disconnecting connection 0xb9cc9f88
(11:10:35) http: Cancelling all running HTTP connections
(11:10:35) connection: Destroying connection 0xb9cc9f88

The plugin does not reconnect after network disruption

Purple-facebook does not seem to reconnect back to Facebook automatically, after the computer loses Internet connection and reconnect back. My other IM networks get reconnected automatically, e.g. XMPP and purple-whatsapp. I don't know if this is an expected behaviour or a bug.

Unknown HTTP error

I have an error since yesterday and now I can't connect to the chat, I only have this error when I go through my vpn:

(22:28:24) http: Performing new request 0x276cd30 to graph.facebook.com.
(22:28:24) dnsquery: Performing DNS lookup for graph.facebook.com
(22:28:24) dns: Successfully sent DNS request to child 8342
(22:28:24) dns: Got response for 'graph.facebook.com'
(22:28:24) dnsquery: IP resolved for graph.facebook.com
(22:28:24) proxy: Attempting connection to 31.13.93.3
(22:28:24) proxy: Connecting to graph.facebook.com:443 with no proxy
(22:28:24) proxy: Connection in progress
(22:28:28) util: Writing file accounts.xml to directory /home/ta/.purple
(22:28:28) util: Writing file /home/ta/.purple/accounts.xml
(22:28:55) http: Timeout reached for request 0x276cd30
(22:28:55) http: Request 0x276cd30 performed without success.
(22:28:55) connection: Connection error on 0x27b1a30 (reason: 16 description: Unknown HTTP error)
(22:28:55) account: Disconnecting account *********@**.com (0x23fd7f0)

don't know if this a bug of this plugin..

If I'm adding someone new to my Facebook contact and I start chatting with it, I see the contact name as a long number, not a name and I also don't see him on the contact list. The only way to "fix" it is to log off and log on again

Allow offline messages

It seems offline messages are only available as a pounce through Pidgin. Facebook does actually have the capability to send messages to people while they're offline at which point it'll generally send them some sort of notification, e-mail, push or whatever, so it is beneficial to be able to send messages to offline friends.

Can't connect

Hi,
I can't connect to my facebook account,
I try with my email, my facebook email, but it do not work :-(
screenshot

Password re-entry during disconnects

I am using version 305f27dd23c0

I've had to re-enter the password and I have checked save password. If I disable the account, and then re-enable, I have to re-enter. I know that the credentials are stored in the keyring. If I lose connection to the internet, and its restored, I am forced to re-enter the password. Is there a fix for this on the horizon?

Extraneous HTML formatting sent to users

Pidgin 2.10.11
Latest built Windows binary of libfacebook available

I haven't had any issues with receiving messages from others, but messages sent out to Facebook/its users sometimes get extraneous formatting on them.

For instance, I can type "This is a quoted text" in Pidgin and it will appear on the Facebook log/to other Facebook users as

&quotThis is a quoted text&quot
with semicolons left out so GitHub will display it

Also, & appears as &amp

I do not have any conversation formatting settings on in the chat window. I am not using "Use font from theme" in Default Formatting, but this likely has nothing to do with it, anyway. I just have a font and a font size set as many normal users probably do. There aren't any workarounds inside Pidgin to fix this as I know of- it simply needs parsed out somehow or interpreted correctly.

FB Contact list not being retrieved

I installed the plugin to replace the FB XMPP protocol and so far it is working well ... BUT ... it does not retrieve my FB contact list ... as such ... I can only reply to messages ... unless I lookup the FB users full userid and use New Instant Message ... which is more trouble than using FB to send the message

OS: Windows 7 PRO SP1 ... latest Patchset

Pidgin version : 2.10.11

Instructions followed for plugin installation
https://github.com/jgeboski/purple-facebook#installing-on-windows

Has anyone run into this?

Display message sent from the other clients of the same user

Currently if I send messages from a different client, e.g. the web interface, these messages do not show up in Pidgin. However they do show up on the mobile client. I suspect the mobile client either poll the server for new messages, or get those messages pushed in. I wonder if you can implement this feature in Pidgin. This feature would be helpful so the conversations across different clients are synced.

I think this feature enhancement request applies to bitlbee-facebook too. For Bitlbee, you could use the idea in http://wiki.znc.in/Privmsg or http://wiki.znc.in/Privmsg_prefix.

Invalid certificate

On login Pidgin displays bunch of popups with message:
"The certificate for fbcdn-profile-a.akamaihd.net could not validated. The certificate chain presented is invalid."

Then my contacts are show in list and I can chat with them, but this mass popup invasion is annoying.
screenshot-ssl certificate error

Loging in when 2-factor is in use ?

What's the proper procedure to log in when 2 factor is in use ?

Application specific passwords don't seem to work.

Instead I log-in once with the website password.

Pidgin then shows a message box telling me : "Login approvals are on. Expect an SMS shortly with a code to use for log in (406)"

SMS arrives "Use {a 6 digit number} as your password for Facebook Messenger for Android".

But with that password I only get an error message:

":1:1048577: Parse error: scanner: unterminated string constant"

Server closed the connection

Hello,

Since about two days I'm facing issue with connecting to FB chat via pidgin - I'm getting something like "connection closed by server".
I was using for many months till now and it was working fine, nothing was modified. Just two days ago it crashed :(

I have it configured in that way:

"
Protocol: XMPP
Username: xyz (This might not be the username that you enter at facebook login page - But the one which you see on your timeline link - https://www.facebook.com/xyz)
Domain: chat.facebook.com
Resource: Pidgin (this is what is missing most of the time)
Password: xyx

On the advanced tab:
Connect port: 5222
Connect server: chat.facebook.com
"

I know that the same issues has few my friends :(

Many thanks and regards,
Maciej

Connection error on 0x2ee9840 (reason: 16 description: ERROR_QUEUE_NOT_FOUND)

Submitter
Your name and a way to contact you

Date Seen
date the bug was found goes here
include the time, if you are submitting more than one bug

Versions
Operating System and version
Software title and version
other installed software, if applicable
hardware information, if applicable

Bug Description
A concise description of what the problem is. Pure description, no narrative or conversational language.

Severity
Trivial, Minor, Major, or Catastrophic

Steps to Reproduce

  1. Step by step instructions on how to reproduce this bug.
  2. Do not assume anything, the more detailed your list of instructions, the easier it is for the developer to track down the problem!

Actual Behavior
Type what happens when you follow the instructions. This is the manifestation of the bug.

Expected Behavior
Type what you expected to happen when you followed the instructions. This is important, because you may have misunderstood something or missed a step, and knowing what you expected to see will help the developer recognize that.

Troubleshooting/Testing Steps Attempted
Describe anything you did to try to fix it on your own.

Workaround
If you found a way to make the program work in spite of the bug, describe how you did it here.

Infinite scrollback of server-side logs

I know the API supports it, but would it be feasable to implement a messenger history that could be loaded through the API interface? It would be nice if we could have some backscroll that might have occurred while using our android messenger apps, or the web messaging interface.

can't connect

Hello, since friday I can't connect with the facebook chat from Pidgin. Unexpectedly it stays kind connecting and about 1 minute after pidgin says: "server closed the connection", i asked to many friends and they have the same problem. Could you help me please?

Stupid mistake

I missed the "make install" step because of the layout of the instructions, and couldn't figure out why my plugin wouldn't show up ...

Does not build on CentOS 6

checking for GLIB... configure: error: Package requirements (glib-2.0 >= 2.32.0) were not met:

Requested 'glib-2.0 >= 2.32.0' but version of GLib is 2.28.8

No notifications in closed groupchat

It would be nice, if groupchat message appears even when groupchat window is closed. I'm using finch with compiled fb plugin and when I close groupchat window, no message to groupchat arrive and I must use web iface to look, what others wrote.

Plugin TODO

The TODO has been completed. Please open new issues.

How do I build this?

Hey jgeboski,
I tried building this, but it failed. I have no idea what's going on.

I really like your work. I would totally buy you a beer if I ever see you in real life.
Thanks,
fangfufu

fangfufu@illustrious:~/src/purple-facebook$ ./autogen.sh 
./update.sh: 15: ./update.sh: -p: not found
hg is /usr/bin/hg: not found
./update.sh: 18: ./update.sh: -p: not found
hg is /usr/bin/hg: not found
./update.sh: 19: ./update.sh: -p: not found
hg is /usr/bin/hg: not found
cp: cannot stat ‘.pidgin/AUTHORS’: No such file or directory
cp: cannot stat ‘.pidgin/COPYING’: No such file or directory
cp: cannot stat ‘.pidgin/COPYRIGHT’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/glibcompat.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/http.c’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/http.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/api.c’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/api.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/data.c’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/data.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/facebook.c’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/facebook.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/glibcompat.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/http.c’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/http.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/id.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/json.c’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/json.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/Makefile.am’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/Makefile.mingw’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/marshaller.list’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/mqtt.c’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/mqtt.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/thrift.c’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/thrift.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/util.c’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/protocols/facebook/util.h’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/purple-socket.c’: No such file or directory
cp: cannot stat ‘.pidgin/libpurple/purple-socket.h’: No such file or directory
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r 5abaecb5a83d libpurple/protocols/facebook/Makefile.am
|--- a/libpurple/protocols/facebook/Makefile.am Thu Jun 18 00:45:16 2015 -0400
|+++ b/libpurple/protocols/facebook/Makefile.am Fri Jun 19 07:20:43 2015 -0400
--------------------------
File to patch:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.