Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Facebook Post to Page Wall as Page
Old 06-08-2011, 03:11 PM Facebook Post to Page Wall as Page
Galaxian's Avatar
Rich Powell

Posts: 842
Name: Rich Powell
Location: United Kingdom
Trades: 0
I want to post to my page as the page itself, however, I've only succeeded in posting to it as myself. Can anyone help? Working with Facebook with PHP is kinda gritty.

PHP Code:
$facebook = new Facebook(array(
    
'appId' => 'APP_ID',
    
'secret' => 'APP_SECRET',
    
'cookie' => true
));

$attachment = array('access_token' => $access_token,
                
'message' => $insult['info'],
                
'actions' => array(array('name' => $category['name'],
                                  
'link' => $siteurl.$category['url'].'/'))
                );

    
$result $facebook->api('/PAGE-ID/feed/',
                                
'post',
                                
$attachment); 
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please help get the new
Please login or register to view this content. Registration is FREE
forum started for Webmasters like you!

Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
 
Register now for full access!
Reply     « Reply to Facebook Post to Page Wall as Page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34054 seconds with 12 queries