• RS_Sforce
  • NEWBIE
  • 0 Points
  • Member since 2012

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

Hi,

 

I have an inline VF page for case object. This page displays all the records from a custom object which is child to the case.

But due to some reason this is not workin for customer portal user, while the same works perfectly for admin.

 

Apart from that when I try to add records in custom object using UI from portal it throws ReadOnlyDataException to me.

Can anyone help me here?

 

Regards

I have post a thread:'

http://boards.developerforce.com/t5/General-Development/Twitter-Integration/td-p/415045

 

I need help on this urgent or should I consider that nobody had worked on Salesforce Twitter integration yet.

 

Regards

Hi All,

 

I am trying to connect salesforce to twitter, but when I make callout it throws exception to me:

<error code="53">Basic authentication is not supported</error>

 

I checked that twitter has turned on the basic authentication, but I am not sure how to call twitter from salesforce now.

 

My existing code is:

Http h = new Http();
		HttpRequest req = new HttpRequest();
		req.setMethod('POST');
		req.setEndpoint('https://api.twitter.com/1/statuses/update.xml');
		req.setHeader('Content-Type','application/x-www-form-urlencoded');
		Blob headerValue = Blob.valueOf('username:password');
      	String authorizationHeader = 'OAuth ' + EncodingUtil.base64Encode(headerValue);
      	req.setHeader('Authorization', authorizationHeader);
      	
		req.setBody('status=Test Data');
		HttpResponse res = h.send(req);
		system.debug('&&&&&&&&&&&&&&&&7' + res.getBody());

 

Regards,

R

 

Hi,

 

I have an inline VF page for case object. This page displays all the records from a custom object which is child to the case.

But due to some reason this is not workin for customer portal user, while the same works perfectly for admin.

 

Apart from that when I try to add records in custom object using UI from portal it throws ReadOnlyDataException to me.

Can anyone help me here?

 

Regards

I have post a thread:'

http://boards.developerforce.com/t5/General-Development/Twitter-Integration/td-p/415045

 

I need help on this urgent or should I consider that nobody had worked on Salesforce Twitter integration yet.

 

Regards

Hi All,

 

I am trying to connect salesforce to twitter, but when I make callout it throws exception to me:

<error code="53">Basic authentication is not supported</error>

 

I checked that twitter has turned on the basic authentication, but I am not sure how to call twitter from salesforce now.

 

My existing code is:

Http h = new Http();
		HttpRequest req = new HttpRequest();
		req.setMethod('POST');
		req.setEndpoint('https://api.twitter.com/1/statuses/update.xml');
		req.setHeader('Content-Type','application/x-www-form-urlencoded');
		Blob headerValue = Blob.valueOf('username:password');
      	String authorizationHeader = 'OAuth ' + EncodingUtil.base64Encode(headerValue);
      	req.setHeader('Authorization', authorizationHeader);
      	
		req.setBody('status=Test Data');
		HttpResponse res = h.send(req);
		system.debug('&&&&&&&&&&&&&&&&7' + res.getBody());

 

Regards,

R

 

Hello All,

I'm seeking a simple trigger or Apex snippet that can send a twitter status update to Twitter. This would work when creating or updating a custom object record.

I've tried downloading the twitter packages but the code is managed so I can't view or copy it.

This is for a simple app prototype, so the simpler the better.

Thanks in advance!
Chris