You are not logged in.

#1 2016-01-29 22:17:30

fuhrer
Member
Registered: 2013-07-03
Posts: 36

purple-facebook with telepathy

hi !

i was wondering if there is a way to use purple-facebook with telepathy, i mean what is the problem since the purple-facebook library works just fine with pidgin and i have "telepathy-haze" package installed and i have "office 365/Lync (via libpurple)" enabled with telepathy !

so what am i missing ?

Offline

#2 2016-02-12 12:21:18

Teyras
Member
Registered: 2010-07-14
Posts: 56

Re: purple-facebook with telepathy

There is one more step that needs to be done - the plugin needs a config widget and a profile file to be added to telepathy-kde-accounts-kcm. Maybe one day someone will write this stuff and add it to the package.

Offline

#3 2017-05-03 23:02:19

gribs
Member
Registered: 2017-05-03
Posts: 1

Re: purple-facebook with telepathy

Sorry for necroposting, but here is what I've done to connect to facebook with telepathy.
Installed:
purple-facebook-git (AUR)
telepathy-haze

I've created two files:
/usr/share/accounts/services/kde/ktp-haze-facebook-im.service

<?xml version="1.0" encoding="UTF-8"?>
<service id="ktp-haze-facebook-im">
  <type>IM</type>
  
  <name>Chat</name>
  <icon>im-facebook</icon>
  <provider>ktp-haze-facebook</provider>
  <translations>kaccounts-providers</translations>

  <template>
      <group name="telepathy">
          <setting name="manager">haze</setting>
          <setting name="protocol">facebook</setting>
      </group>
      <group name="auth">
          <setting name="method">password</setting>
          <setting name="mechanism">password</setting>
      </group>
  </template>
</service>

and
/usr/share/accounts/providers/kde/ktp-haze-facebook.provider

<?xml version="1.0" encoding="UTF-8"?>
<provider id="ktp-haze-facebook">
    <name>Facebook</name>
    <icon>im-facebook</icon>
    
    <description>Chat account in Facebook</description>
    <translations>kaccounts-providers</translations>
    <plugin>ktpaccountskcm_plugin_kaccounts</plugin>
</provider>

That is it. After that you can add facebook to in Online Accounts.

The only problem is that group chats do not work sad. If you have any ideas how to fix it and where to dig, please let me know.

Last edited by gribs (2017-05-03 23:03:19)

Offline

#4 2017-05-04 06:10:33

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,786
Website

Re: purple-facebook with telepathy

Thanks for sharing, gribs, I'm going to take this opportunity to close this old thread now.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB