public String stFacebookSharingVerification(int dataId,int ExpVal,String flow )
	{		
		int actVal=1000;
		String returnVal=null;
		hm.clear();
   	hm=STFunctionLibrary.stMakeData(dataId, "Post");
   	String url = hm.get("URL");		
   	String newwindowtitle = hm.get("NewWindowTitle");
   	String sharingtitle = hm.get("SharingTitle");
   	STCommonLibrary comLib=new STCommonLibrary();
   	
   	Vector<String> xPath=new Vector<String>();
	Vector<String> errorMsg=new Vector<String>();
   	
   	try {
		
		Block:
        {			        	
        	/*Open new window for facebook*/
   			browser.openWindow(url, newwindowtitle);
        	try {
				Thread.sleep(15000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
        	/*Select newly open window*/
        	browser.selectWindow(newwindowtitle);
        	
        	/* Clicking on Home link to refresh the FB wall */
			//comLib.stClick(FACEBOOK_HOME_LINK, "Facebook Home link not found on FB wall", "");
			
        	try {
				Thread.sleep(25000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
        	
			
	    	/*Verification of shared post on Facebook */
	    	
	    	xPath.add(FACEBOOK_POST_TITLE);
	    	errorMsg.add("Shared Title is not present"); 
    	
    		comLib.stVerifyObjects(xPath, errorMsg, flow);	
    		xPath.clear();
    		errorMsg.clear();
    		
    		String getposttitle = browser.getText(FACEBOOK_POST_TITLE);
    		//String getposttitle = browser.getText(FACEBOOK_POST_SHARED_TITLE);
    		System.out.println("getposttitle " +getposttitle);
    		System.out.println("sharingtitle :" +sharingtitle);
					
			/* Comparing Sharing Title */            
            if(sharingtitle.contains(getposttitle))
            {
            	actVal= 0; /*Sharing Post is matching on Facebook */
            	break Block;
            }
            else
            {
            	actVal= 1; /*Sharing post is not matching*/
            	break Block;
            } 		
        }  		

   	}
			    	
		catch (SeleniumException sexp)
		{
			Reporter.log(sexp.getMessage());	
		} 
		
		returnVal=STFunctionLibrary.stRetValDes(ExpVal, actVal, "stFacebookSharingVerification",flow, hm);
		if(flow.contains("STOP")){
			assertEquals("PASS",returnVal);
		}
		return returnVal; 	
	}