<commit_before># encoding: utf-8

require 'cinch'
require './lib/fb.rb'

class Facebook
    include Cinch::Plugin

    set :help, <<-EOF
!facebook <message>
  Publie <message> sur la page UrLab (urlabbxl).
EOF

    def post_as_urlab msg
        page_token = get_page_token(config[:fb_token], config[:fb_userid], config[:fb_pageid])<commit_msg>[fix] help<commit_after># encoding: utf-8

require 'cinch'
require './lib/fb.rb'

class Facebook
    include Cinch::Plugin

    set :help, <<-EOF
!fb <message>
  Publie <message> sur la page UrLab (urlabbxl).
EOF

    def post_as_urlab msg
        page_token = get_page_token(config[:fb_token], config[:fb_userid], config[:fb_pageid])
{'fraction_non_alphanumeric': 0.12998522895125553, 'fraction_numerical': 0.0029542097488921715, 'mean_word_length': 4.2153846153846155, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '467965', 'n_tokens_mistral': 244, 'n_tokens_neox': 236, 'n_words': 62}