• mayank_friend52
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 23
    Replies
Hello,

I am unable to 'like' a linkedin company update post through Linkedin Like API.

It is throwing an error, 'Status=Method Not Allowed, StatusCode=405',\

I am using this Code as shown below:

        Http h = new Http();
        String postParam ='';
        String method = 'PUT';
        string body1 ='<?xml version="1.0" encoding="UTF-8"?><is-liked>true</is-liked>';
        string sharequery='http://api.linkedin.com/v1/people/~/network/updates/key=UPDATE-c1756-5902360166031974400/is-liked';
        HttpRequest sharequery_req= new HttpRequest();  
        sharequery_req.setMethod(method);
        sharequery_req.setBody(body);
        sharequery_req.setEndpoint(sharequery.replace('~','%7E'));
        sharequery_req.setHeader('Content-Type', 'text/xml'); //header setting for HttpRequest object
        HttpResponse share_response= h.send(sharequery_req);
        integer statuscode=share_response.getstatuscode();

Please suggets some way to achieve this.

Thanks,
Mayank
Hello,

Can we call one Apex:Component inside the other Apex:Component?

Please suggest some ways to accomplish this.


Thanks,
Mayank
Hello ,

I want to  integrate Facebook to my Visualforce Page and want to search Facebook Pages when user enter the Page name.

Is there is any API to query the Facebook Pages?


Thanks,
Mayank Agarwal
Hello,

I want to create a task on Account object through API.
Could anyone suggets the way to accomplish this.
Also I want to select  the 'send notification email' checkbox while creating the task through API, just the same way we do while creating a task through UI.


Thanks,
Hello,

While saving a Visualforce Page, i am getting this error (please refer the image).
Could anyone tell me the reason and solution of this error.

Error while saving VF Page
Hello,

I am using query in Ajax to get records from Standard as well as Custom Objects. What is the maximum of records I can get through this.
I know that Apex Governor limits : 50000 rows at max .

But when  I am query through Ajax, i get more than 50,000 records (rows).
How is this possible.

My Code is as :
------------------------------------------------------------------------------------------------------------------

var exeQuery="Select id from Contact" ;

sforce.connection.query(exeQuery);

----------------------------------------------------------------------------------------------------------
Hello,

I am planning to write a trigger on Event Object.
The trigger will fire when the Event Expires.
Can this be possible?

Thanks,
Mayank
Hello,

Is there any time difference if I query for 2000 or 50,000 records (Standard or Custom Object) through SOQL .
And if i use query through AJAX, then is there any time difference for the same.

Thanks,
Mayank 
Hello,

I am using 2 Active widgets to show my records.
I want independent scrolling functionality in both of these active widgets.
Please sugget.


Thanks,
Hello,

Can we write a trigger which will execute when an event expires?

Thanks,
Mayank Agarwal
Hello ,

I am using query inside Ajax. I just want to ask what is the maximum number of records (from Standard and Custom Objects) i can get using query inside Ajax.


Thanks,

I am new to apex, i just want to ask that  how data is populated into active widgets through ajax. I am writing code for this, but it is not working properly. 

 

 

Please help me..

 

Thanks 

Mayank

Hello,

Can we call one Apex:Component inside the other Apex:Component?

Please suggest some ways to accomplish this.


Thanks,
Mayank
Hello ,

I want to  integrate Facebook to my Visualforce Page and want to search Facebook Pages when user enter the Page name.

Is there is any API to query the Facebook Pages?


Thanks,
Mayank Agarwal
Hello,

While saving a Visualforce Page, i am getting this error (please refer the image).
Could anyone tell me the reason and solution of this error.

Error while saving VF Page
Hello,

I am using query in Ajax to get records from Standard as well as Custom Objects. What is the maximum of records I can get through this.
I know that Apex Governor limits : 50000 rows at max .

But when  I am query through Ajax, i get more than 50,000 records (rows).
How is this possible.

My Code is as :
------------------------------------------------------------------------------------------------------------------

var exeQuery="Select id from Contact" ;

sforce.connection.query(exeQuery);

----------------------------------------------------------------------------------------------------------
Hello,

I am planning to write a trigger on Event Object.
The trigger will fire when the Event Expires.
Can this be possible?

Thanks,
Mayank
Hello,

I am using 2 Active widgets to show my records.
I want independent scrolling functionality in both of these active widgets.
Please sugget.


Thanks,
Hello,

Can we write a trigger which will execute when an event expires?

Thanks,
Mayank Agarwal
Hello ,

I am using query inside Ajax. I just want to ask what is the maximum number of records (from Standard and Custom Objects) i can get using query inside Ajax.


Thanks,