Facebook API Curl Status message Solution

Source: Internet
Author: User
Facebook API Curl Status message
This is the Facebook API
http://developers.facebook.com/docs/reference/api/status/


Publishing

Requires the Publish_stream permission.

To publish a status update, POST the message field to the feed/wall of the user whose status you want to update, i.e. htt P://graph.facebook.com/user_id/feed.
Curl-f ' access_token= ... '
-F ' message=this is my status update ' \
Https://graph.facebook.com/me/feed

I sent it through the proxy server.


Curl-x 192.168.xx.xxx:xxx
-F ' access_token=2227470867|2.tvtbctlu .... '
-F ' message=this is my status update '
Https://graph.facebook.com/me/feed

Why not?

------Solution--------------------
This method requires Publish_stream permissions. The possible token value is obtained without obtaining this permission.
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.