Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7159567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:15:09+00:00 2026-05-28T13:15:09+00:00

i am trying to make the post using my linkedin api application, The issue

  • 0

i am trying to make the post using my linkedin api application, The issue with my app is i am not able to make any post on the group wall…even i am able to make a comment on any post of group but not able to make any new post.

I have given access to third party to make a post but some how i am not able to make a new post on group wall…..

Following is the my code to make a post on group’s wals…..it gets executed without any error…can anybody help me out with this?

    function setGroupPost($status) {           
    $status_url = $this->base_url . "v1/groups/676767/posts";  
    $xml = "<post><title>" . htmlspecialchars($status['title'], ENT_NOQUOTES, "UTF-8") . "</title><summary>".htmlspecialchars($status['description'], ENT_NOQUOTES, "UTF-8")."</summary></post>";      
    $request = OAuthRequest::from_consumer_and_token($this->consumer, $this->access_token, "POST", $status_url);

    $request->sign_request($this->signature_method, $this->consumer, $this->access_token);
    $auth_header = $request->to_header("https://api.linkedin.com");
    /*if ($debug) {
      echo $auth_header . "\n";
    } */
    $response = $this->httpRequest($status_url, $auth_header, "POST", $xml);
    return $response;
  }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:15:10+00:00Added an answer on May 28, 2026 at 1:15 pm

    I’m curious what the status is on the server response. In any case I’m able to make a post to a group using my python code – here’s the trace on the HTTP traffic:

    URL:
    http://api.linkedin.com/v1/groups/4058745/posts
    
    Request Headers:
    user-agent: Python-httplib2/0.7.0 (gzip)
    Host: api.linkedin.com
    accept-encoding: gzip, deflate
    content-type: text/xml
    Content-Length: 64
    authorization: OAuth realm="http://api.linkedin.com",  oauth_body_hash="FWbw5dO9thxZvF2L2gMq8d6CTwM%3D", oauth_nonce="14208603", oauth_timestamp="1326913388", oauth_consumer_key="1iK9RUZ1FLJaLUpp90xztjhJXLkdTooiNqXMAORUrpoWJaR0cozd863qyIwvb0ZJ", oauth_signature_method="HMAC-SHA1", oauth_version="1.0", oauth_token="3df261cb-0532-4015-8618-01b0a41cd45e", oauth_signature="Rwv%2BNdFpJuBzoXWSmyYwIT%2FiiC8%3D"
    
    Request body:
    <post><title>Test group post</title><summary> </summary></post>
    

    Thoughts: perhaps your Content-Type is not set correctly (must be text/xml)? Can you check the status on the HTTP Response? Generally if it’s not a “201 created” then there was an issue, and the code itself can give you guidance about where it’s going awry.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to make a post on another user's wall using another user
I am trying to make an chat application using python and django. I almost
So I'm using this plugin: jquery-in-place-editor , I'm trying to make a POST request
I'm trying to make a post request via ajax using jQuery (for the BaseCamp
i'm trying to make post to an external url using curl, the externa page
I'm trying to make updates to a model using Ajax/POST. I'd like to be
I'm trying to make a POST request using HTTParty, in which I need the
I am trying to make a basic quotation-sharing app using Webapp. Obviously it is
Good day. I'm trying to make an online quiz application using php. The idea
I am trying to make a POST http.request in Node to an API where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.