Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook message posting on page timeline [duplicate]

        var message = 'test';
        var picture = 'http://l.yimg.com/f/i/tw/ks/show/120604_mntl01.jpg';
        var link = 'https://www.youtube.com/watch?v=BIl8Px1ds3c';
        var name = 'great';
        var description = 'des';


        FB.api('/1437247769881131/feed', 'post', {message: message, picture: picture, name: name, description: description },function (response){
        if (!response || response.error) {
        alert('Error occured');
        } else {
        alert('Post ID: ' + response.id);
        }
                }); 

I tried posting a test message to my fan page wall , but it become a visitor post(on left)

How could i post to the wall , if i change my admin to fan page admin ,it pop up a dialog

[You're using Facebook as a Page]

[To continue, you'll need to switch from using Facebook as 談政宏 to using Facebook as 談政宏.]

So i change back to person admin , but i can only post a visitor post

How can I post as Page Admin ?

like image 572
Horton Tan Avatar asked Feb 26 '15 10:02

Horton Tan


People also ask

Why are my Facebook posts duplicating?

A frequent cause of duplicate posts is that the item URLs or GUIDs in the feed have changed. One way that you can detect this is to: Locate two duplicate posts and open the links in two separate browser windows or tabs.

How do I merge duplicate posts on Facebook?

Go to your Page and click “Edit Page”, then click the “Resources” tab, and then select “Merge duplicate pages”. You'll then see a list of any duplicate Pages that are eligible to be rolled into your Page. [Update: We've determined that currently, duplicate Pages must be under your control to be eligible for a merge.

What does report duplicate mean on Facebook?

To appropriately deal with this issue, Facebook offers a reporting feature that lets you merge duplicate pages with your own pages that official represent your business. However, this process can be easier said then done.


1 Answers

You just need to use a Page Token to post "as Page". Right now you are using a User Token so it will get posted "as User". Information about Access Tokens:

  • https://developers.facebook.com/docs/facebook-login/access-tokens
  • http://www.devils-heaven.com/facebook-access-tokens/
like image 159
andyrandy Avatar answered Sep 22 '22 09:09

andyrandy