December 7th, 2013, 08:29 AM
Perl Facebook::Graph - Post on Page Wall as Page, not User
Using the Perl module, Facebook::Graph, I have created some basic perl code that can post to my own wall. I can share a photo on my own wall. I can also post a simple wall message to one of the pages for which I am an admin. However, when I try to post a photo to the page, it posts as me, not as the page.
Here is the sample code that posts as me, to the Facebook page. I need it to post as the Page, not as me.
I am trying to figure out how to create a post to the wall of a Facebook page, as if it is being posted BY the page, not by me.
I am trying to do that with the CPAN module, Facebook::Graph
I cannot, for the life of me, figure this out. Any help would be most welcomed!
December 7th, 2013, 12:35 PM
This is cross posted on the Perl Guru forum.
December 8th, 2013, 07:36 AM
... some technical help is helpful, rather than a pointer about other posts, me thinks ...
December 8th, 2013, 08:29 AM
December 8th, 2013, 08:34 AM
Recipe 3 does *NOT* work. It posts as the user "fan" of a page, NOT as the page, itself.
December 8th, 2013, 08:37 AM
In addition, I am trying to add_photo, not add_post. The recipes are not complete, either, in the there is the ->to that needs to be set in order to "target" the Page (as opposed to the user's own wall). I have done extensive testing, and the results are that I cannot yet post AS the Page to the Page wall. There has to be something I am missing.
If someone has a pointer to code that uses some other Perl module or code snippet that accomplished this task, please share. I would be so very thankful!
December 8th, 2013, 08:46 AM
December 8th, 2013, 11:12 AM
It is considered good practice to inform people about cross posts on this type of forum when you do it, to avoid duplicate work of people trying to help you.
Originally Posted by perl4ever
For the rest, I am sorry, but I can't help you, I am not a user of Facebook, I am not even sure that I really understand your question.
December 8th, 2013, 11:15 AM
I was not aware of the practice to divulge the cross-posting. Duly noted. My apologies for the omission.
I will look at the suggestion of simply using an HTTP Post action, as opposed to using a Module wrapping the Facebook Graph API. Or, maybe I should extend the module, or do something of my own module.
Thanks for all the input...