开发者

how to set the permission to a user for stream publishing in facebook?

I would like to post the stream from my website to facebook user wall by using facebook API..

  1. I have created the facebook application
  2. Posted the stream by application admin .. passed the parameter which required to this function..

    $this->facebook->api_client->stream_publish($comments,'From:blinkbee.com',$action_link,$f_user_id,$f_user_id);
    
  3. Successfully posted the stream..

  4. Then I changed the target_id and user_id of other users.. it showing the error like "USERID" does not resolve to a valid user ID..

  5. I dont 开发者_如何学Cknow how to set the permission to other users..

Please help me to solve it soon.. thanks saran http://careerjobz.com


4.Then i changed the target_id and user_id of other users.. it showing the error like "USERID" does not resolve to a valid user ID..

This is because the USERID is either invalid or does not exist. You need to specify a valid USERID there, try to see what the USERID resolves it by echoing it.

For publishing stream for other users, you will need the offline access from those users to be able to publish the stream.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜