func handleDelTweetFavorite(w http.ResponseWriter, r *http.Request) {
	cxt := appengine.NewContext(r)
	defer func() {
		if err := recover(); err != nil {
			cxt.Errorf("handleDelTweetFavorite: %v", err)
			fmt.Fprintf(w, `{"status":%d}`, common.STATUS_ERR)
		}
	}()
	args := r.URL.Query()
	uid , _ := strconv.Atoi( args[common.UID][0]) //User id
	objectId , _ := strconv.Atoi(args[common.ID][0] )//object id

	cookies := r.Cookies()           //Session in cookies passt
	session := cookies[0].Value      //Get user-session
	access_token := cookies[1].Value //Get user-token


	favorite.DelTweetFavorite(cxt  , session  , access_token  , uid  , objectId  )
	s := fmt.Sprintf(`{"status":%d }`, common.STATUS_OK )
	w.Header().Set("Content-Type", common.API_RESTYPE)
	fmt.Fprintf(w, s)
}
//Delete a favorite of tweet.
Delete a favorite of tweet.
// Delete a favorite of tweet .
func handleDelTweetFavorite(w http.ResponseWriter, r *http.Request) {
	cxt := appengine.NewContext(r)
	defer func() {
		if err := recover(); err != nil {
			cxt.Errorf("handleDelTweetFavorite: %v", err)
			fmt.Fprintf(w, `{"status":%d}`, common.STATUS_ERR)
		}
	}()
	args := r.URL.Query()
	uid , _ := strconv.Atoi( args[common.UID][0]) 
	objectId , _ := strconv.Atoi(args[common.ID][0] )
	cookies := r.Cookies()           
	session := cookies[0].Value      
	access_token := cookies[1].Value 
	favorite.DelTweetFavorite(cxt  , session  , access_token  , uid  , objectId  )
	s := fmt.Sprintf(`{"status":%d }`, common.STATUS_OK )
	w.Header().Set("Content-Type", common.API_RESTYPE)
	fmt.Fprintf(w, s)
}
func handleDelTweetFavorite ( w http . ResponseWriter , r * http . Request ) { cxt := appengine . NewContext ( r ) defer func ( ) { if err := recover ( ) ; err != nil { cxt . Errorf ( " " , err ) fmt . Fprintf ( w , `{"status":%d}` , common . STATUS_ERR ) } } ( ) args := r . URL . Query ( ) uid , _ := strconv . Atoi ( args [ common . UID ] [ 0 ] ) objectId , _ := strconv . Atoi ( args [ common . ID ] [ 0 ] ) cookies := r . Cookies ( ) session := cookies [ 0 ] . Value access_token := cookies [ 1 ] . Value favorite . DelTweetFavorite ( cxt , session , access_token , uid , objectId ) s := fmt . Sprintf ( `{"status":%d }` , common . STATUS_OK ) w . Header ( ) . Set ( " " , common . API_RESTYPE ) fmt . Fprintf ( w , s ) }
Delete a favorite of tweet.
Delete a favorite of tweet .
//User id //object id //Session in cookies passt //Get user-session //Get user-token