• ranjithsab
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 1
    Replies

Please tell me the Endpoint url to post in GooglePlus.

                HttpRequest httpReqm = new HttpRequest();
                httpReqm.setMethod('POST');
               String EndPointURL1 = 'https://www.googleapis.com/auth/plus.me';
               httpReqm.SetEndpoint(EndPointURL1);
               String AuthHead = tokenType + ' '+AccessToken ;
               httpReqm.setHeader('Authorization',AuthHead);
               httpReqm.setHeader('Content-Type','application/json');

               HttpResponse httpResm = new HttpResponse();


Integrating salesforce and Google plusI am trying to post the message from salesforce to google plus.


ERROR:

 

  Status=HTTP method POST is not supported by this URL, StatusCode=405.

 

Thanks In Advance,

 

Ranjith

Please tell me the Endpoint url to post in GooglePlus.

                HttpRequest httpReqm = new HttpRequest();
                httpReqm.setMethod('POST');
               String EndPointURL1 = 'https://www.googleapis.com/auth/plus.me';
               httpReqm.SetEndpoint(EndPointURL1);
               String AuthHead = tokenType + ' '+AccessToken ;
               httpReqm.setHeader('Authorization',AuthHead);
               httpReqm.setHeader('Content-Type','application/json');

               HttpResponse httpResm = new HttpResponse();


Integrating salesforce and Google plus. I am trying to post the message from salesforce to google plus.


ERROR:

 

  Status=HTTP method POST is not supported by this URL, StatusCode=405.

 

Thanks In Advance,

 

Ranjith

Hi Everybody,

I am trying to integrate salesforce with facebook , and the following is the request i am doing

 

HttpRequest req = new HttpRequest();
req.setEndpoint('https://graph.facebook.com/'+Facebookuserid+'/feed');
req.setHeader('access_token',token);
req.setBody('message='+statusupdate);
req.setMethod('POST');
HttpResponse res = h.send(req);

 

I am getting the error message as "This API call requires a valid app_id."

 

Help me how to make the post request.

 

Thanks in Advance,

Ranjith

 

Hi Everybody,

I am trying to integrate salesforce with facebook , and the following is the request i am doing

 

HttpRequest req = new HttpRequest();
req.setEndpoint('https://graph.facebook.com/'+Facebookuserid+'/feed');
req.setHeader('access_token',token);
req.setBody('message='+statusupdate);
req.setMethod('POST');
HttpResponse res = h.send(req);

 

I am getting the error message as "This API call requires a valid app_id."

 

Help me how to make the post request.

 

Thanks in Advance,

Ranjith