I feel like I've tried everything, but I'm not getting anywhere with stream.publish
. I would like to post to the "links" section of an event. The application and the logged in user are both admins of the event. I am able to write on the event's wall like so (examples in python using pyFacebook):
facebook.stream.publish(
message = 'test',
target_id = XXXXXXXXXXXXXX,
)
and I can post a link to a user's wall like so:
facebook.stream.publish(
attachment = {
...
},
uid = XXXXXXXXXXXX
)
but I cannot post a link to an event's wall. Specifying the event eid as the uid in stream.publish
gives an error "The user hasn't authorized the application to perform this action", and specifying the event eid as the target_id only allows me to post to the wall as listed above. Is there any way to post a link to an event?