Author Topic: AddOn Otomax untuk Facebook Center  (Read 2975 times)

Fortunecells

  • User OtomaX
  • Newbie
  • *
  • Posts: 44
    • Fortune Multi Billing
Re: AddOn Otomax untuk Facebook Center
« Reply #20 on: May 12, 2017, 03:30:51 PM »
bisa lihat facebook.cfg nya agan ?

sama screnshot external component openfirenya

External Component


Code: [Select]
[service]
# The name of user/group Spectrum runs as.
#user=spectrum
#group=spectrum

# JID of Spectrum instance.
jid = facebook.fb.example.com
admin_jid = gojaraadmin@fb.example.com

# Password used to connect the XMPP server.
password = rahasia

# XMPP server to which Spectrum connects in gateway mode.
server = 127.0.0.1

# XMPP server port.
port = 5347

# Interface on which Spectrum listens for backends.
backend_host = 127.0.0.1

# Port on which Spectrum listens for backends.
# By default Spectrum chooses random backend port and there's
# no need to change it normally
#backend_port=10001

# Number of users per one legacy network backend.
users_per_backend=10
# For Skype - must be =1
#users_per_backend=1

# Full path to backend binary.
backend=/usr/bin/spectrum2_libpurple_backend
#backend=/usr/bin/spectrum2_libcommuni_backend
# For skype:
#backend=/usr/bin/xvfb-run -a -s "-screen 0 10x10x8" -f /tmp/x-skype-gw /usr/bin/spectrum2_skype_backend
# For skype if instance drops privileges (`user`/`group` options) we should set writable HOME folder for D-BUS:
#backend=/usr/bin/env HOME=/var/lib/spectrum2 xvfb-run -a -s "-screen 0 10x10x8" -f /tmp/x-skype-gw /usr/bin/spectrum2_skype_backend

# Libpurple protocol-id for spectrum_libpurple_backend
protocol=prpl-facebook
#protocol=prpl-msn
#protocol=prpl-icq

# protocol=any means that user sets his protocol in his JID which has to be
# in following format: protocol.username@domain.tld
# So for example: prpl-jabber.hanzz.k%gmail.com@domain.tld
#protocol=any

[identity]
# Name of Spectrum instance in service discovery
name=Facebook Transport

# Type of transport ("msn", "icq", "xmpp").
# Check http://xmpp.org/registrar/disco-categories.html#gateway
type=facebook

# Category of transport, default is "gateway
category=gateway

[logging]
# log4cxx/log4j logging configuration file in ini format used for main spectrum2 instance.
config = /etc/spectrum2/logging.cfg

# log4cxx/log4j logging configuration file in ini format used for backends.
backend_config = /etc/spectrum2/backend-logging.cfg

[database]
# Database backend type
# "sqlite3", "mysql", "pqxx", or "none" without database backend
type = none

# For SQLite3: Full path to database
# For MySQL and PostgreSQL: name of database
# default database = /var/lib/spectrum2/$jid/database.sql
#database = jabber_transport

# Server.
#server = localhost

# Port.
#port = 0

# User.
#user = spectrum

# Paasword.
#password = secret

# Prefix used for tables
#prefix = jabber_

# Connection string (for pqxx only!)
# If you set this, it ignores every other database option except for type and prefix.
#connectionstring = host=localhost user=specturm password=secret

[registration]
# Enable public registrations
enable_public_registration=1

# Text to display upon user registration form
#username_label=Jabber JID (e.g. user@server.tld):
#instructions=Enter your remote jabber JID and password as well as your local username and password

# If True a local jabber account on <local_account_server> is needed
# for transport registration, the idea is to enable public registration
# from other servers, but only for users, who have already local accounts
#require_local_account=1
#local_username_label=Local username (without @server.tld):
#local_account_server=localhost
#local_account_server_timeout=10000
Fortune Multi Billing
OID: CihakqLhuw_dSDh77oUPLaoyGdeFLRDrgOdWD4
https://fortunecells.com

cusria

  • Jr. Member
  • **
  • Posts: 109
Re: AddOn Otomax untuk Facebook Center
« Reply #21 on: May 12, 2017, 03:55:40 PM »
di openfirenya sudah dibuat user:  gojaraadmin@fb.example.com sm password sesuai ?

dan jgn lupa restart openfire sm spectrum2 tiap abis edit setting

===================
btw yg subdomain di openfire coba disamakan gan, kalo di subdomain facebook, di jid spectrum nya jgn facebook.fb.example.com , harusnya jid = facebook.example.com
« Last Edit: May 12, 2017, 04:06:57 PM by cusria »

Fortunecells

  • User OtomaX
  • Newbie
  • *
  • Posts: 44
    • Fortune Multi Billing
Re: AddOn Otomax untuk Facebook Center
« Reply #22 on: May 12, 2017, 04:03:36 PM »
di openfirenya sudah dibuat user:  gojaraadmin@fb.example.com sm password sesuai ?

dan jgn lupa restart openfire sm spectrum2 tiap abis edit setting

Sudah dubuat dan sesuai, dan sdh direstart juga, tapi ttp muncul error sprti diatas, apa clientnya yg gak sesuai ya?
Fortune Multi Billing
OID: CihakqLhuw_dSDh77oUPLaoyGdeFLRDrgOdWD4
https://fortunecells.com

cusria

  • Jr. Member
  • **
  • Posts: 109
Re: AddOn Otomax untuk Facebook Center
« Reply #23 on: May 12, 2017, 04:07:21 PM »
Sudah dubuat dan sesuai, dan sdh direstart juga, tapi ttp muncul error sprti diatas, apa clientnya yg gak sesuai ya?

btw yg subdomain di openfire coba disamakan gan, kalo di subdomain facebook, di jid spectrum nya jgn facebook.fb.example.com , harusnya jid = facebook.example.com

Fortunecells

  • User OtomaX
  • Newbie
  • *
  • Posts: 44
    • Fortune Multi Billing
Re: AddOn Otomax untuk Facebook Center
« Reply #24 on: May 12, 2017, 04:12:53 PM »
btw yg subdomain di openfire coba disamakan gan, kalo di subdomain facebook, di jid spectrum nya jgn facebook.fb.example.com , harusnya jid = facebook.example.com

di external component di openfire saya set facebook.fb skrng, ttp sama errornya
Fortune Multi Billing
OID: CihakqLhuw_dSDh77oUPLaoyGdeFLRDrgOdWD4
https://fortunecells.com

cusria

  • Jr. Member
  • **
  • Posts: 109
Re: AddOn Otomax untuk Facebook Center
« Reply #25 on: May 12, 2017, 04:19:23 PM »
di external component di openfire saya set facebook.fb skrng, ttp sama errornya

mksd saya, external component nya tetep facebook
yg di ganti jid dan admin_jid

jadi misal external component= facebook
jid = facebook.fortunecells.com   (kecuali kalo agan setting xmpp servernya di sub domain fb.fortunecells.com)

spi

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 206
    • Server Pulsaku
Re: AddOn Otomax untuk Facebook Center
« Reply #26 on: May 12, 2017, 05:28:39 PM »
Mantap ini suhu tutorialnya terus di bahas di sini biar belajar... jangan personal klo bisa chat di sini saja..
* Alamat : Jln. Gunung Gede No.12 Komplek Damkar Cilegon - Banten.
http://server-pulsaku.com/
( Cepat dan terpercaya )
Telegram : @cs_serverku

cusria

  • Jr. Member
  • **
  • Posts: 109
Re: AddOn Otomax untuk Facebook Center
« Reply #27 on: May 12, 2017, 06:56:24 PM »
Mantap ini suhu tutorialnya terus di bahas di sini biar belajar... jangan personal klo bisa chat di sini saja..
sip gan, sejak jabjab blok ip indonesia saya memang cari gantinya, kebetulan skrng sdh sukses buat telegram,facebook,hangouts, dan mudah2an bisa banyak yg bikin sejenis jabber transport , karna skrng masih minim info sehingga sulit cari teman diskusi, saat ini saya msh blm sukses bikin transport WA, semoga ada yg sukses bikin jgn lupa sharing  ;D

tekcuan

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 271
Re: AddOn Otomax untuk Facebook Center
« Reply #28 on: May 12, 2017, 07:17:48 PM »
gak kebagian windows
OTOMAX ULTIMATE 3.7.5.5
KEPERCAYAAN ADALAH HARTA YANG PALING BERHARGA.

Fortunecells

  • User OtomaX
  • Newbie
  • *
  • Posts: 44
    • Fortune Multi Billing
Re: AddOn Otomax untuk Facebook Center
« Reply #29 on: May 12, 2017, 10:08:25 PM »
Sudah sampai sini gan, malah Invalid protocol prpl-facebook

Padahal path ke backendnya udah bener: backend=/usr/bin/spectrum2_libpurple_backend

Fortune Multi Billing
OID: CihakqLhuw_dSDh77oUPLaoyGdeFLRDrgOdWD4
https://fortunecells.com

cusria

  • Jr. Member
  • **
  • Posts: 109
Re: AddOn Otomax untuk Facebook Center
« Reply #30 on: May 12, 2017, 11:10:39 PM »
agan server jabber nya di domain.com  atau subdomain fb.domain.com yah ?

yg sebelumnya tadi udah hampir benar gan, tinggal sesuaikan facebook.cfg dan external component nya ada yg belum tepat.

secara saya pake ejabberd, agak beda sedikit sm openfire cara seting nya jadi cuma bisa menerka  ;D

================
backend nya coba periksa lg kalo di pcn agan, kalo di saya, backend=/usr/local/bin/spectrum2_libpurple_backend

beda dengan di tutorial spectrum2, backend=/usr/bin/spectrum2_libpurple_backend



Fortunecells

  • User OtomaX
  • Newbie
  • *
  • Posts: 44
    • Fortune Multi Billing
Re: AddOn Otomax untuk Facebook Center
« Reply #31 on: May 12, 2017, 11:23:07 PM »
agan server jabber nya di domain.com  atau subdomain fb.domain.com yah ?

yg sebelumnya tadi udah hampir benar gan, tinggal sesuaikan facebook.cfg dan external component nya ada yg belum tepat.

secara saya pake ejabberd, agak beda sedikit sm openfire cara seting nya jadi cuma bisa menerka  ;D

================
backend nya coba periksa lg kalo di pcn agan, kalo di saya, backend=/usr/local/bin/spectrum2_libpurple_backend

beda dengan di tutorial spectrum2, backend=/usr/bin/spectrum2_libpurple_backend

Server jabbernya di subdomain fb.domain.com
Klo path nya udah bener gan
Fortune Multi Billing
OID: CihakqLhuw_dSDh77oUPLaoyGdeFLRDrgOdWD4
https://fortunecells.com

cusria

  • Jr. Member
  • **
  • Posts: 109
Re: AddOn Otomax untuk Facebook Center
« Reply #32 on: May 13, 2017, 03:10:48 AM »
ada beda dikit yg dimerahin sm facebook.cfg saya

type=xmpp
#category=gateway   (dikasih pagar)
type = sqlite3


=================================
[service]
# The name of user/group Spectrum runs as.
#user=spectrum
#group=spectrum

# JID of Spectrum instance.
jid = facebook.fb.example.com
admin_jid = gojaraadmin@fb.example.com

# Password used to connect the XMPP server.
password = rahasia

# XMPP server to which Spectrum connects in gateway mode.
server = 127.0.0.1

# XMPP server port.
port = 5347

# Interface on which Spectrum listens for backends.
backend_host = 127.0.0.1

# Port on which Spectrum listens for backends.
# By default Spectrum chooses random backend port and there's
# no need to change it normally
#backend_port=10001

# Number of users per one legacy network backend.
users_per_backend=10
# For Skype - must be =1
#users_per_backend=1

# Full path to backend binary.
backend=/usr/bin/spectrum2_libpurple_backend
#backend=/usr/bin/spectrum2_libcommuni_backend
# For skype:
#backend=/usr/bin/xvfb-run -a -s "-screen 0 10x10x8" -f /tmp/x-skype-gw /usr/bin/spectrum2_skype_backend
# For skype if instance drops privileges (`user`/`group` options) we should set writable HOME folder for D-BUS:
#backend=/usr/bin/env HOME=/var/lib/spectrum2 xvfb-run -a -s "-screen 0 10x10x8" -f /tmp/x-skype-gw /usr/bin/spectrum2_skype_backend

# Libpurple protocol-id for spectrum_libpurple_backend
protocol=prpl-facebook
#protocol=prpl-msn
#protocol=prpl-icq

# protocol=any means that user sets his protocol in his JID which has to be
# in following format: protocol.username@domain.tld
# So for example: prpl-jabber.hanzz.k%gmail.com@domain.tld
#protocol=any

[identity]
# Name of Spectrum instance in service discovery
name=Facebook Transport

# Type of transport ("msn", "icq", "xmpp").
# Check http://xmpp.org/registrar/disco-categories.html#gateway
type=facebook

# Category of transport, default is "gateway
category=gateway

[logging]
# log4cxx/log4j logging configuration file in ini format used for main spectrum2 instance.
config = /etc/spectrum2/logging.cfg

# log4cxx/log4j logging configuration file in ini format used for backends.
backend_config = /etc/spectrum2/backend-logging.cfg

[database]
# Database backend type
# "sqlite3", "mysql", "pqxx", or "none" without database backend
type = none

# For SQLite3: Full path to database
# For MySQL and PostgreSQL: name of database
# default database = /var/lib/spectrum2/$jid/database.sql
#database = jabber_transport

# Server.
#server = localhost

# Port.
#port = 0

# User.
#user = spectrum

# Paasword.
#password = secret

# Prefix used for tables
#prefix = jabber_

# Connection string (for pqxx only!)
# If you set this, it ignores every other database option except for type and prefix.
#connectionstring = host=localhost user=specturm password=secret

[registration]
# Enable public registrations
enable_public_registration=1

# Text to display upon user registration form
#username_label=Jabber JID (e.g. user@server.tld):
#instructions=Enter your remote jabber JID and password as well as your local username and password

# If True a local jabber account on <local_account_server> is needed
# for transport registration, the idea is to enable public registration
# from other servers, but only for users, who have already local accounts
#require_local_account=1
#local_username_label=Local username (without @server.tld):
#local_account_server=localhost
#local_account_server_timeout=10000

cusria

  • Jr. Member
  • **
  • Posts: 109
Re: AddOn Otomax untuk Facebook Center
« Reply #33 on: May 13, 2017, 04:04:20 AM »
sy nyoba aktifin lg openfire buat test, tetep sukses facebook transportnya

==============

facebook.cfg (sy hapus yg tidak perlu biar simpel)
Code: [Select]
[service]
jid = facebook.fb.domain.com
admin_jid = gojaraadmin@fb.domain.com
password = rahasia
server = 127.0.0.1
port = 5347
backend_host = 127.0.0.1
users_per_backend=10

#sesuaikan dgn di pc, defaultnya /usr/bin/spectrum2_libpurple_backend
backend=/usr/local/bin/spectrum2_libpurple_backend
protocol=prpl-facebook

[identity]
name=Facebook Transport
type=xmpp

[logging]
config = /etc/spectrum2/logging.cfg
backend_config = /etc/spectrum2/backend-logging.cfg

[database]
type = sqlite3

[registration]
enable_public_registration=1

[purple]
show-unread=false

===============


===============


Fortunecells

  • User OtomaX
  • Newbie
  • *
  • Posts: 44
    • Fortune Multi Billing
Re: AddOn Otomax untuk Facebook Center
« Reply #34 on: May 15, 2017, 10:40:05 AM »
sy nyoba aktifin lg openfire buat test, tetep sukses facebook transportnya

Gan untuk tutorial instalasi spectrum nya ngambil dmn ya? Kmungkinan di saya ini krn kesalahan instalasi spectrum, jadinya protokol php-facebook gak masuk di libpurplenya
Fortune Multi Billing
OID: CihakqLhuw_dSDh77oUPLaoyGdeFLRDrgOdWD4
https://fortunecells.com

cusria

  • Jr. Member
  • **
  • Posts: 109
Re: AddOn Otomax untuk Facebook Center
« Reply #35 on: May 15, 2017, 02:14:03 PM »
Gan untuk tutorial instalasi spectrum nya ngambil dmn ya? Kmungkinan di saya ini krn kesalahan instalasi spectrum, jadinya protokol php-facebook gak masuk di libpurplenya
saya install yg pakai source code gan, yg dr sisni :
Code: [Select]
http://spectrum.im/documentation/installation/from_source_code.html
tapi sebelumnya coba install pidgin terbaru dulu gan kalo blm, karna ada libpurple nya jg

mugidadi

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 453
    • MD PULSATRONIK
Re: AddOn Otomax untuk Facebook Center
« Reply #36 on: May 16, 2017, 08:42:20 PM »
sampe di pembahasan ini ,,kami masih bingung Gan,,ini cara instal spectrum nya gimana ya?,,
Quote
OtomaX Standar 3.7.6
MT  Core i3 | Windows 7 Ultimate SP1 64 bit RAM  8 GB Internet : Speedy backup modem 4g. PLN backup UPS, Genset 2200watt
Tahap Belajar dan masih membutuhkan bimbingan. Terima Servis Modem Wavecom / Modempool

@cs_mdpulsatronik

Fortunecells

  • User OtomaX
  • Newbie
  • *
  • Posts: 44
    • Fortune Multi Billing
Re: AddOn Otomax untuk Facebook Center
« Reply #37 on: May 16, 2017, 09:02:41 PM »
sampe di pembahasan ini ,,kami masih bingung Gan,,ini cara instal spectrum nya gimana ya?,,

Ini sy sdh nemu titik terang gan, nti klo udah beres insyallah dibagi2 dsni :)
Fortune Multi Billing
OID: CihakqLhuw_dSDh77oUPLaoyGdeFLRDrgOdWD4
https://fortunecells.com

mugidadi

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 453
    • MD PULSATRONIK
Re: AddOn Otomax untuk Facebook Center
« Reply #38 on: May 16, 2017, 09:43:30 PM »
Ini sy sdh nemu titik terang gan, nti klo udah beres insyallah dibagi2 dsni :)

ok siep..kami tunggu Gan.
Quote
OtomaX Standar 3.7.6
MT  Core i3 | Windows 7 Ultimate SP1 64 bit RAM  8 GB Internet : Speedy backup modem 4g. PLN backup UPS, Genset 2200watt
Tahap Belajar dan masih membutuhkan bimbingan. Terima Servis Modem Wavecom / Modempool

@cs_mdpulsatronik

cusria

  • Jr. Member
  • **
  • Posts: 109
Re: AddOn Otomax untuk Facebook Center
« Reply #39 on: May 16, 2017, 09:52:36 PM »
install spectrum 2 via source code memang gampang2 susah  ;D

itu stepnya harus teliti, karna ada bbrp yg mesti di install manual tersendiri, jadi kalo masih ada yg kurang akan error.

simpelnya:

-boost-devel
-libidn-devel
(syarat install swiften)
===========================
-install Python 2.5
-install swiften
pastikan bagian ini, yes:

Checking for C++ header file boost/signals.hpp... yes
....
Checking for C library idn... yes
(kalo tidak install spectrum 2 akan error)

==============================
-Install Google protobuf
-Install Libpurple for libpurple backend (bisa dr install pidgin)
-Install libCommuni for libCommuni IRC backend

==============================
Install Spectrum 2

(sebelum make, pastikan tidak ada syarat yg kurang, kalo masih ada error lengkapi dulu)
« Last Edit: May 16, 2017, 09:54:33 PM by cusria »