Extended permissions and

2 views
Skip to first unread message

Kimball

unread,
Feb 3, 2010, 10:20:15 PM2/3/10
to pyfacebook
I have a Fan Page I'm an admin for and I'm creating a FB
"desktop" (i.e. server-side) application just for me to post links to
the Fan Page's wall. In other words, I'm the only user, and I need to
give myself permission to call stream.publish in my FB App to post to
my Fan Page's wall.

I've been living in
http://wiki.developers.facebook.com/index.php/Authorization_and_Authentication_for_Desktop_Applications,
which says to:
"Direct the user to www.facebook.com/connect/prompt_permissions.php."

Similarly, http://wiki.developers.facebook.com/index.php/Extended_permissions
states that this can be accomplished:
"[b]y directing them to the URL: http://www.facebook.com/connect/prompt_permissions.php.
Desktop applications can use this method only to prompt for
permissions."

This is what I tried and the result:

fb.request_extended_permission(ext_perm=offline_access)
---------------------------------------------------------------------------
NameError Traceback (most recent call
last)

NameError: name 'offline_access' is not defined

Do I need to extend pyfacebook to direct to the prompt_permissions.php
URL and define 'offline_access' or am I missing something here? Many
thanks for your kind help.

Kimball

Kimball

unread,
Feb 5, 2010, 8:10:54 PM2/5/10
to pyfacebook
Figured out I'm an idiot, just needed quotes around 'offline_access'.
Sorry to bother the list!

Kimball

On Feb 3, 7:20 pm, Kimball <kbigho...@yahoo.com> wrote:
> I have a Fan Page I'm an admin for and I'm creating a FB
> "desktop" (i.e. server-side) application just for me to post links to
> the Fan Page's wall.  In other words, I'm the only user, and I need to
> give myself permission to call stream.publish in my FB App to post to
> my Fan Page's wall.
>

> I've been living inhttp://wiki.developers.facebook.com/index.php/Authorization_and_Authe...,


> which says to:
> "Direct the user towww.facebook.com/connect/prompt_permissions.php."
>

> Similarly,http://wiki.developers.facebook.com/index.php/Extended_permissions

Reply all
Reply to author
Forward
0 new messages