Posting on facebook page

I'm posting on a page on Facebook, using the following code.

def _PostToFB(message): token = getattr(settings, 'FACEBOOK_AUTHENTICATION_TOKEN', "") page = str(getattr(settings, 'FACEBOOK_PAGE_ID', 123)) user_account = OpenFacebook(token) accounts = user_account.get('me/accounts') for x in accounts['data']: if x['id'] == page: page = x break else: # page not found print "Page not found with corresponding ID" return page_graph = OpenFacebook(page['access_token']) result = page_graph.set('me/feed', message=message) print "FB post result:", result

This adds a post on facebook, and it shows that the post is public. And so I never really checked it for around a couple of months. However, on getting complaints, and on checking it, I found that no one, except me is able to view the posts, even though they are clearly public. Others simply do not see the post.

What am I doing wrong?

-------------Problems Reply------------

The app was still in development mode. Anything posted by an app in development mode is only visible to people that have a role in the app (admin/developer/tester), but stays hidden from the general public.

Setting it “live” is done on top of Status&Review tab in app dashboard.

Category:python Views:1 Time:2018-04-15

Related post

  • Post to facebook page wall as a page 2012-02-20

    I want to post to facebook page wall as a page using PHP. I've got access_token by below links.,manag

  • Post to Facebook Page via ASP.NET 2009-06-03

    I've seen this and this but before I sink a ton of time into it, I want to know if what I'm trying to do is possible. I have a Page on FB (not a profile, but a Page for business, websites, etc) and I want to post a story to it via my site automatical

  • post on facebook page wall as facebook admin through facebook php api 2010-06-09

    I would like to post feed to facebook page wall as page admin. I can publish post to facebook wall with publish_stream from fb php api, but it is just as a normal facebook user. May I know how can I do likewise as a page admin (meaning that the post

  • Simple post to Facebook page from flash using querystring 2010-10-07

    Hi Can someone point me to a simple example of posting to a user's facebook pages using a query string? ie I'm not using facebook connect. --------------Solutions------------- The simplest way to be able to post to a user's facebook page would be to

  • How to remove 'via app' when posting on facebook page feed 2011-01-25

    When posting to the page wall (feed) through my application, under the post contents facebook adds '20 minutes ago *via my_app*'. This is a problem for my company, since they don't want the fans knowing the posting is done through an application, thu

  • Really Need a Facebook App to post to Facebook Page Wall? 2011-02-05

    I'm using the Facebook API Graph (C# & ASP.NET) to try to dynamically post to a Facebook page I created. Looking at the code samples floating around.. they suggest creating a Facebook App first (which I have done).. However.. I have 3 different p

  • Post On Facebook Page As Page Not As Admin User Using Facebook C# SDK 2011-03-08

    I'm developing C# application which manages fan page on Facebook which uses Facebook C# SDK. I've encountered two problems one is connected with posting messages on wall and the other concerns creating events on fan page. Is it possible to post a mes

  • Post to Facebook Page Wall 2011-04-22

    I'm just trying to make PHP Connector to Facebook for posting wall posts on a Page. So i'm not trying to post wall post to profile wall or anything else. I've read some tutorials and manuals and i decided to use Facebook PHP-SDK (from Naitik Shah) ht

  • Post to Facebook page from middle tier (PHP) 2011-05-18

    I'm trying to put together a prototype that would allow a company to manage remotely several Facebook Corporate Pages. Imagine the following dataflow (for one Page): module 1 runs on a cron job and retrieves posts/comments from a Page. backend app li

  • Post to facebook page via PHP 2011-06-08

    Having looked through all the developer pages on facebook and about a million out of date tutorials on google, I cannot find a simple way to post to a facebook page (note, this is a fan page, not a personal one) via PHP. I do not need to get contacts

  • Problem with posting to Facebook Page using PHP script as Page account 2011-07-11

    I am using the following PHP code to post to my page wall. it is okay I can post successfully as admin but I want to post to the wall using the page name (page account). how do I post using the page name or page id. I tried to find good resource to e

  • how to post to facebook page wall from .NET 2011-09-05

    I've created Facebook page. I have no application secret and no access token. I want to post to this page from my .NET desktop application. How can I do it? Can anyone help please, where can I get access token for this? Should I create a new Facebook

  • Post to Facebook page feed without first liking the page 2011-09-15

    Is it possible to post to a facebook page feed without first liking the page? I tried the feed dialog using something like the code below -- which resulted in an error "An inva

  • Information not posting to Facebook page from website but will post to a new page 2011-12-13

    I have a web site, and the facebook app has the daily deals posting to the page automatically. It no longer works. The software developers are not able to find anything wrong in their software, so I created a new page (now u

  • Facebook 'Like' Count on website not matching 'Like' Count on post of Facebook page Wall 2012-01-12

    We have a website where we have article pages, each with a Facebook like button on them and associated with that articles URL (url encoded). So for instance on some article with url the Facebook Like code lo

  • Can't post to facebook page by email from php 2012-01-14

    you can send a status update to a facebook page you own by sending it to a cretin (secret) email address. this is described here: the problem is I cant make it work from php function page_publish_by_mail($pag

  • Posting to facebook PAGE wall with php 2012-01-30

    I am becoming really desperate with posting to facebook feature. I know that many of you have already posted some help answers to this issue up to this point, but reading them has not helped me, unfortunately. Here's my testing php code which I've tr

  • Change order of posts on facebook page wall? 2012-02-10

    Is there any way to change the order of posts on a facebook page's wall? --------------Solutions------------- No. Posts on a Page are always displayed in the order of the time they were posted. Newest first. You can however change what you are lookin

  • Posting to facebook page wall via curl 2012-02-23

    I am trying to post to my facebook page wall using curl but i keep getting the following error The user hasn't authorized the application to perform this action How do i generate the correct access token using curl? if you go to this url http://devel

  • Fetching posts from FaceBook Page and displaying on website 2012-02-23

    Could someone please let me know how I can fetch posts posted by the account owner on the wall. In my case, I need to fetch posts from the wall of our company facebook page. I have tried using the Graph API to fetch the results, but I have trouble fe

  • How do I get Permission to post to Facebook Page Wall 2012-02-28

    After reading the for the past few hours I just can't seem to figure out how to get my Facebook Page to allow permission for me to post to its wall from a Django Website? --------------Solutions------------- you must give rela

  • Post to Facebook Page from ASP.NET Website 2012-03-13

    How to post something on a facebook page's wall from a website. Google search says that I have to create an app to do this. Is it possible to post to facebook wall without creating an app? not sure where to start. I tried developers.facebook.

  • Post to Facebook page using php 2012-03-23

    I have a script to post to facebook but I'm having problems with how the data is posted on facebook. Since it may help others here is the full code <?php require 'facebook.php'; Facebook::$CURL_OPTS[CURLOPT_SSL_VERIFYHOST] = 0; Facebook::$CURL_OPT

  • wall post to facebook page differ than user wall post 2012-04-03

    When I post a user wall post as user_id/feed it appear as left side image.It is ok.But when I target the facebook page as page_id/feed with same code segment post display as right side image. what would be the reason for this. I want to make appear m

  • Posting to Facebook page from Facebook application without login to facebook 2012-04-22

    i am trying to post into a Facebook Page using PHP. I have created a Facebook application, and I am able to post into regular accounts FEED, using the very helpful code i found out in : Daily Automatic post in facebook users wall . to summarize it do

Copyright (C), All Rights Reserved.

processed in 0.091 (s). 11 q(s)