• mascloud
  • NEWBIE
  • 0 Points
  • Member since 2011

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

Hello,

 

I am using curl tool to test the REST API calls and used the following steps:

 

1. Get Access token 

curl https://na12.salesforce.com/services/oauth2/token -d "grant_type=password" -d "client_id=xxxxx" -d "client_secret=yyy" -d "username=<SFDC username>" -d "password=<password>+<security token>"

 

2. Received the following security token

{
"access_token": "zzzzzzz",
"id": "https://login.salesforce.com/id/00DU0000000HDZrMAO/005U0000000UhgQIAS",
"instance_url": "https://na12.salesforce.com",
"issued_at": "1352117575555",
"signature": "ocuTdQyKqBg84ga/1/MGvuwNnUfFBdQBpfwA//dwVwY="
}

 

3. curl -v https://na12.salesforce.com/services/data/v25.0/sobjects/Account/ -H "Authorization: OAuth zzzzzz"

 

I have received the following error: 

[{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]

 

I have looked into the Solutions provided in this forum for this error. But none of them helped me. I am using a Java application using REST and it is working fine for the same SFDC developer account. 

 

Refer: http://boards.developerforce.com/t5/APIs-and-Integration/Invalid-Session-ID-from-REST-API/td-p/234773

 

Thanks,

Rag

Hi,

 

I am developing a customer portal for my company. I am able to do limited changes to the look and feel of the customer portal. But the videos posted by salesforce has adavanced look and feel of the customer portal. Could someone help me on how to make cusomer portal similar to my comapny wesite. 

 

Here is the salesforce demo from youtube. 

http://www.youtube.com/watch?v=4QAc9nOVxrQ

 

Is there way I can use Salesforce Sites to display customer portal data with limited coding.

 

 

Thanks,

Rag

 



Hi,

 

Cloud someone provide me the link where I can post my resume in for Salesforce jobs. I have seen a it on developer.force.com website.

 

 

Thanks,

Rag

Hi,

 

I am developing a customer portal for my company. I am able to do limited changes to the look and feel of the customer portal. But the videos posted by salesforce has adavanced look and feel of the customer portal. Could someone help me on how to make cusomer portal similar to my comapny wesite. 

 

Here is the salesforce demo from youtube. 

http://www.youtube.com/watch?v=4QAc9nOVxrQ

 

Is there way I can use Salesforce Sites to display customer portal data with limited coding.

 

 

Thanks,

Rag

 



Hi,

 

Cloud someone provide me the link where I can post my resume in for Salesforce jobs. I have seen a it on developer.force.com website.

 

 

Thanks,

Rag