Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors facebook2telegram.py #8

Open
d9994 opened this issue Mar 3, 2018 · 2 comments
Open

Errors facebook2telegram.py #8

d9994 opened this issue Mar 3, 2018 · 2 comments

Comments

@d9994
Copy link

d9994 commented Mar 3, 2018

Hello.
Errors when i run python facebook2telegram.py :
Traceback (most recent call last):
File "facebook2telegram.py", line 671, in
main()
File "facebook2telegram.py", line 653, in main
loadSettingsFile(settings_path)
File "facebook2telegram.py", line 61, in loadSettingsFile
config.read(filename)
File "/usr/lib/python3.5/configparser.py", line 696, in read
self._read(fp, filename)
File "/usr/lib/python3.5/configparser.py", line 1077, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: '/home/karadm/telegram/facebook/fbpages-telegram-bot-master/botsettings.ini', line: 2
'locale: en_US\n'

@freeroid
Copy link

Did you found any solution? i am getting similar errors.

@freeroid
Copy link

[root@centos-2gb-nbg1-1 fbpages-telegram-bot]# python3.6 facebook2telegram.py
Loaded settings:
Locale: en-US
Admin ID: XXXXXXx
Channel: XXXXXXX
Refresh rate: 300.0
Allow Status: False
Allow Photo: True
Allow Video: True
Allow Link: True
Allow Shared: True
Allow Message: True
Getting most recent posts dates...
Traceback (most recent call last):
File "facebook2telegram.py", line 671, in
main()
File "facebook2telegram.py", line 658, in main
getMostRecentPostsDates(facebook_pages, dates_path)
File "facebook2telegram.py", line 216, in getMostRecentPostsDates
fields='name,posts.limit(1){created_time}')
File "/usr/lib/python3.6/site-packages/facebook/init.py", line 134, in get_objects
args["ids"] = ",".join(ids)
TypeError: can only join an iterable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants