pradeep1288 / fb_bday_wisher

A simple python script to wish my friends on facebook on their birthays
http://pradeepnayak.in/technology/2013/01/29/say-happy-birthday-to-your-friend-on-facebook-programatically/
12 stars 7 forks source link

Error #200 #2

Open tjoozey opened 11 years ago

tjoozey commented 11 years ago

|system||ruby-1.9.3-p194| Tylers-MacBook-Pro in ~/Desktop/code/phpfog/fb_bday_wisher ± |master ✗| → af update superf1 Uploading Application: Checking for available resources: OK Processing resources: OK Packing application: /Users/tyler/.rvm/gems/ruby-1.9.3-p194/gems/af-0.3.18.11/lib/cli/zip_util.rb:63: warning: Insecure world writable dir /Users/tyler/.rvm in PATH, mode 040777 OK Uploading (74K): OK
Push Status: OK Stopping Application 'superf1': OK Staging Application 'superf1': OK
Starting Application 'superf1': ... Error: Application [superf1] failed to start, logs information below.

====> /logs/stderr.log <====

Traceback (most recent call last): File "fb_bday_wisher.py", line 36, in graph.post(friend['id']+ '/feed', 0, message = bday_wish) File "/mnt/var/vcap.local/dea/apps/superf1-0-d10a64d12ca19b36feea87f52de4f072/app/facepy/graph_api.py", line 65, in post retry=retry File "/mnt/var/vcap.local/dea/apps/superf1-0-d10a64d12ca19b36feea87f52de4f072/app/facepy/graph_api.py", line 248, in _query return load(method, url, data)[0] File "/mnt/var/vcap.local/dea/apps/superf1-0-d10a64d12ca19b36feea87f52de4f072/app/facepy/graph_api.py", line 210, in load result = self._parse(response.content) File "/mnt/var/vcap.local/dea/apps/superf1-0-d10a64d12ca19b36feea87f52de4f072/app/facepy/graph_api.py", line 290, in _parse error.get('code', None) facepy.exceptions.OAuthError: 200 Feed story publishing to other users is disabled for this application

ALSO:

|system||ruby-1.9.3-p194| Tylers-MacBook-Pro in ~/Desktop/code/phpfog/fb_bday_wisher ± |master ✗| → python fb_bday_wisher.py Traceback (most recent call last): File "fb_bday_wisher.py", line 36, in graph.post(friend['id']+ '/feed', 0, message = bday_wish) File "/Users/tyler/Desktop/code/phpfog/fb_bday_wisher/facepy/graph_api.py", line 65, in post retry=retry File "/Users/tyler/Desktop/code/phpfog/fb_bday_wisher/facepy/graph_api.py", line 248, in _query return load(method, url, data)[0] File "/Users/tyler/Desktop/code/phpfog/fb_bday_wisher/facepy/graph_api.py", line 210, in load result = self._parse(response.content) File "/Users/tyler/Desktop/code/phpfog/fb_bday_wisher/facepy/graph_api.py", line 290, in _parse error.get('code', None) facepy.exceptions.OAuthError: 200 Feed story publishing to other users is disabled for this application

Can you tell me how to get around OAuthError #200?

Regards,

Tyler

tjoozey commented 11 years ago

Any update to the code to fix this?